[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150323062309.GA2032@nanopsycho.orion>
Date: Mon, 23 Mar 2015 07:23:09 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Simon Horman <simon.horman@...ronome.com>
Cc: Scott Feldman <sfeldma@...il.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH net] rocker: handle non-bridge master change
Mon, Mar 23, 2015 at 07:13:21AM CET, simon.horman@...ronome.com wrote:
>Master change notifications may occur other than when joining or
>leaving a bridge, for example when being added to or removed from
>a bond or Open vSwitch.
>
>Previously in those cases rocker_port_bridge_leave() was called
>which results in a null-pointer dereference as rocker_port->bridge_dev
>is NULL because there is no bridge device.
>
>This patch makes provision for doing nothing in such cases.
>
>Fixes: 6c7079450071f ("rocker: implement L2 bridge offloading")
>Signed-off-by: Simon Horman <simon.horman@...ronome.com>
Acked-by: Jiri Pirko <jiri@...nulli.us>
Thanks Simon.
--
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