diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2012-11-02 16:32:36 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-03 19:37:36 (GMT) |
commit | c38e01b8b958cb6606bcc156d3d00c3ee99a13f8 (patch) | |
tree | d2cb212bc2126117c32d451eb0b7a92d658f239a /lib/flex_proportions.c | |
parent | 26cdfb4915a9a408f4c1f04111999a11eb0ee606 (diff) | |
download | linux-fsl-qoriq-c38e01b8b958cb6606bcc156d3d00c3ee99a13f8.tar.xz |
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>
Diffstat (limited to 'lib/flex_proportions.c')
0 files changed, 0 insertions, 0 deletions