aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorJeff Hansen <[email protected]>2009-09-28 19:54:25 +0000
committerDavid S. Miller <[email protected]>2009-09-28 19:54:25 +0000
commit30df94f800368a016d09ee672c9fcc20751d0260 (patch)
tree1626c98991a1c828d6d359100f5db5bb4e20a946 /fs/proc/array.c
parentisdn: fix netjet/isdnhdlc build errors (diff)
downloadkernel-30df94f800368a016d09ee672c9fcc20751d0260.tar.gz
kernel-30df94f800368a016d09ee672c9fcc20751d0260.zip
bridge: Fix double-free in br_add_if.
There is a potential double-kfree in net/bridge/br_if.c. If br_fdb_insert fails, then the kobject is put back (which calls kfree due to the kobject release), and then kfree is called again on the net_bridge_port. This patch fixes the crash. Thanks to Stephen Hemminger for the one-line fix. Signed-off-by: Jeff Hansen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions