From: Denis V. Lunev Date: Thu, 10 Jan 2008 11:51:41 +0000 (-0800) Subject: [ATM]: Oops reading net/atm/arp X-Git-Tag: v2.6.25-rc1~1162^2~797 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5d69b9f4a6ce17f0d09595da45e37b870fee5ae;p=pandora-kernel.git [ATM]: Oops reading net/atm/arp cat /proc/net/atm/arp causes the NULL pointer dereference in the get_proc_net+0xc/0x3a. This happens as proc_get_net believes that the parent proc dir entry contains struct net. Fix this assumption for "net/atm" case. The problem is introduced by the commit c0097b07abf5f92ab135d024dd41bd2aada1512f from Eric W. Biederman/Daniel Lezcano. Signed-off-by: Denis V. Lunev Signed-off-by: David S. Miller --- Reading git-diff-tree failed