atm: clip: remove clip_tbl
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 21 Feb 2012 10:46:49 +0000 (10:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Feb 2012 07:23:25 +0000 (02:23 -0500)
commit597cdbc2239e6019bbb2dd73b266f436166f0427
treeb6c25dddc2987c9e7811d826f991dd6407783b7f
parenta5e7424d424f6398a198ead79d99e0a3c2f24ce8
atm: clip: remove clip_tbl

Commit 32092ecf0644 (atm: clip: Use device neigh support on top of
"arp_tbl".) introduced a bug since clip_tbl is zeroed : Crash occurs in
__neigh_for_each_release()

idle_timer_check() must use instead arp_tbl and neigh_check_cb() should
ignore non clip neighbours.

Idea from David Miller.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/clip.c