From: John Fastabend Date: Fri, 2 Nov 2012 16:32:36 +0000 (+0000) Subject: net: fix bridge notify hook to manage flags correctly X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~450 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c38e01b8b958cb6606bcc156d3d00c3ee99a13f8;p=pandora-kernel.git 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 Signed-off-by: John Fastabend Signed-off-by: David S. Miller --- Reading git-diff-tree failed