bonding: modify only neigh_parms owned by us
authorVeaceslav Falico <vfalico@redhat.com>
Fri, 2 Aug 2013 17:07:39 +0000 (19:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Sep 2013 13:54:54 +0000 (06:54 -0700)
commit92986ce4e59db8c4c44caf9633095ab07f1d79f5
tree97cf7af4d1bc9f777df2767ddabfebc1a3877254
parent5cf1ad6c6a29186821843e5d6f70ebbbce587f4f
bonding: modify only neigh_parms owned by us

[ Upstream commit 9918d5bf329d0dc5bb2d9d293bcb772bdb626e65 ]

Otherwise, on neighbour creation, bond_neigh_init() will be called with a
foreign netdev.

Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/bonding/bond_main.c