]> git.baikalelectronics.ru Git - kernel.git/commit
pppoe: fix /proc/net/pppoe
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 28 Jul 2009 23:43:08 +0000 (23:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2009 21:19:19 +0000 (14:19 -0700)
commit8eed602896fe8e8ed9f40e4a83fbe86e4729e2df
tree450d68ac3788c335ac33c3ecc14be1e294f78a20
parentcaad4659cdb9f4ed5c81ffe536bd0abe946bdad8
pppoe: fix /proc/net/pppoe

If a socket is hashed in last slot of pppoe hash table (PPPOE_HASH_SIZE-1)
we report it many times (up to filling seq buffer)
(Only the last socket of last slot)

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c