]> err.no Git - linux-2.6/commit
[PACKET]: Fix /proc/net/packet crash due to bogus private pointer
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 16 Dec 2007 22:04:02 +0000 (14:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:58:19 +0000 (14:58 -0800)
commit1bf40954cf232a043a49623cf251f787c1871e64
tree86b6a26e04f102091e6df0d59c6ad85cd5e5ff5e
parent2d4d29802ff76de5af6123ef26c24ab512181223
[PACKET]: Fix /proc/net/packet crash due to bogus private pointer

The seq_open_net patch changed the meaning of seq->private.
Unfortunately it missed two spots in AF_PACKET, which still
used the old way of dereferencing seq->private, thus causing
weird and wonderful crashes when reading /proc/net/packet.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c