bridge: Fix setting a flag in br_fill_ifvlaninfo_range().
authorRosen, Rami <rami.rosen@intel.com>
Wed, 22 Jul 2015 04:57:02 +0000 (07:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jul 2015 05:56:22 +0000 (22:56 -0700)
commit6ca91c604074788dfeb7dd714e74f0ad6bea8a77
tree6c86534cb872c0ebfe61f558fc69924d93c51e7b
parenta155a5db9389c4088c0901e665002332f2503660
bridge: Fix setting a flag in br_fill_ifvlaninfo_range().

This patch fixes setting of vinfo.flags in the br_fill_ifvlaninfo_range() method. The
assignment of vinfo.flags &= ~BRIDGE_VLAN_INFO_RANGE_BEGIN has no effect and is
unneeded, as vinfo.flags value is overriden by the  immediately following
vinfo.flags = flags | BRIDGE_VLAN_INFO_RANGE_END assignement.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink.c