]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] bridge: fix possible overflow in get_fdb_entries
authorChris Wright <chrisw@sous-sol.org>
Mon, 20 Nov 2006 23:02:49 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 29 Nov 2006 01:26:50 +0000 (17:26 -0800)
commit7c766ecfd7e72fd22f616b2408c7d25962bd20dc
tree53bba162f0a7e7e75849cea14e981e2f204ae478
parent1e6880c806f905b362de3b16ed647bd8f7aed714
[PATCH] bridge: fix possible overflow in get_fdb_entries

Make sure to properly clamp maxnum to avoid overflow

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Acked-by: Eugene Teo <eteo@redhat.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/bridge/br_ioctl.c