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)
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>

No differences found