[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110520.145952.462307683994245367.davem@davemloft.net>
Date: Fri, 20 May 2011 14:59:52 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, kaber@...sh.net, jpirko@...hat.com
Subject: Re: [PATCH] macvlan: fix panic if lowerdev in a bond
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 20 May 2011 18:44:49 +0200
> 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@...il.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists