Home
last modified time | relevance | path

Searched hist:c38e01b8b958cb6606bcc156d3d00c3ee99a13f8 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Drtnetlink.cdiff c38e01b8b958cb6606bcc156d3d00c3ee99a13f8 Fri Nov 02 11:32:36 CDT 2012 John Fastabend <john.r.fastabend@intel.com> net: fix bridge notify hook to manage flags correctly

The bridge notify hook rtnl_bridge_notify() was not handling the
case where the master flags was set or with both flags set. First
flags are not being passed correctly and second the logic to parse
them is broken.

This patch passes the original flags value and fixes the
logic.

Reported-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>