aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-05-20 14:59:23 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-03 09:31:54 +0900
commit8884892fcbe700a595a6e6d11fca1a0281793d7e (patch)
tree0c177e15fc7994719fb46f39c9f77240ec67c637 /lib/cpu-notifier-error-inject.c
parent3a029a52f334fcdf19da9496f3ec122fafe4cad5 (diff)
macvlan: fix panic if lowerdev in a bond
[ Upstream commit d93515611bbc70c2fe4db232e5feb448ed8e4cc9 ] commit a35e2c1b6d905 (macvlan: use rx_handler_data pointer to store macvlan_port pointer V2) added a bug in macvlan_port_create() Steps to reproduce the bug: # ifenslave bond0 eth0 eth1 # ip link add link eth0 up name eth0#1 type macvlan ->error EBUSY # ip link add link eth0 up name eth0#1 type macvlan ->panic Fix: Dont set IFF_MACVLAN_PORT in error case. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions