]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit437daa5e5e1cac2af1b8eec33f3441462b27fc49
treeb6c25dddc2987c9e7811d826f991dd6407783b7f
parent21e2ae6a8358bd58292c8ee809d11607f8b62e44
atm: clip: remove clip_tbl

Commit c1095c4cb660 (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