bridge: fix a possible net_device leak
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 22 Aug 2011 06:05:59 +0000 (06:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Aug 2011 23:49:56 +0000 (16:49 -0700)
commit11f3a6bdc2528d1ce2af50202dbf7138fdee1b34
tree69ee1b19bd869600b0f0898986dd5e4b34d299c6
parent832d80aceaab995c347d62abf7c241fc3e2eb0ce
bridge: fix a possible net_device leak

Jan Beulich reported a possible net_device leak in bridge code after
commit bb900b27a2f4 (bridge: allow creating bridge devices with netlink)

Reported-by: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c