net: Fix dev_mc_add()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 9 Mar 2010 19:09:08 +0000 (19:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2010 15:32:28 +0000 (07:32 -0800)
commit3041f5170751e3522aa1bd6e8ca5d98e846720b0
treef692b5193501ff8d3f6895321f936895980e6761
parent0a141509ede48ac33ef756ac1640f4d3f46fa2db
net: Fix dev_mc_add()

Commit 6e17d45a (net: add addr len check to dev_mc_add)
added a bug in dev_mc_add(), since it can now exit with a lock
imbalance.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_mcast.c