summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorAlexander Y. Fomichev <git.user@gmail.com>2014-09-15 14:22:35 +0400
committerDavid S. Miller <davem@davemloft.net>2014-09-15 14:24:53 -0400
commit7ce64c79c4decdeb1afe0bf2f6ef834b382871d1 (patch)
tree1a8e5ee8aac0ea6dc17068a61572cdcb98d19cd0 /net/bridge
parent95e8b10393f88a0db88d97e9d1953f01c854315a (diff)
downloadlinux-7ce64c79c4decdeb1afe0bf2f6ef834b382871d1.tar.gz
linux-7ce64c79c4decdeb1afe0bf2f6ef834b382871d1.tar.bz2
linux-7ce64c79c4decdeb1afe0bf2f6ef834b382871d1.zip
net: fix creation adjacent device symlinks
__netdev_adjacent_dev_insert may add adjust device of different net namespace, without proper check it leads to emergence of broken sysfs links from/to devices in another namespace. Fix: rewrite netdev_adjacent_is_neigh_list macro as a function, move net_eq check into netdev_adjacent_is_neigh_list. (thanks David) related to: 4c75431ac3520631f1d9e74aa88407e6374dbbc4 Signed-off-by: Alexander Fomichev <git.user@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions