net: Pass VLAN ID to rtnl_fdb_notify.
authorHubert Sokolowski <hubert.sokolowski@intel.com>
Thu, 9 Apr 2015 12:16:17 +0000 (12:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Apr 2015 21:30:58 +0000 (17:30 -0400)
commit1e53d5bb8878dcbdbffde334ab89b1f57778b48c
treeab028253535344103115cdfa1a548c0e70e4c146
parentca69d7102fde3e22b09536867ba14ace84ea80e1
net: Pass VLAN ID to rtnl_fdb_notify.

When an FDB entry is added or deleted the information about VLAN
is not passed to listening applications like 'bridge monitor fdb'.
With this patch VLAN ID is passed if it was set in the original
netlink message.

Also remove an unused bdev variable.

Signed-off-by: Hubert Sokolowski <hubert.sokolowski@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c