]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitba8379b220509e9448c00a77cf6c15ac2a559cc7
tree53bba162f0a7e7e75849cea14e981e2f204ae478
parent24d7bb3396c51ceb2285e0e7b0c1bd1865652c43
[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