diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2018-11-08 18:44:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-08 19:49:31 -0800 |
commit | f723a1a293deefa7f25b3833266fa7eb18d877f7 (patch) | |
tree | 28a76881ac7ff99bec91cf1a2e73af816c2b3c9d | |
parent | 1ef212afa40ede497a141ee3a8bd050cacfd9e55 (diff) |
cnic: remove use of VLAN_TAG_PRESENT
This just removes VLAN_TAG_PRESENT use. VLAN TCI=0 special meaning is
deeply embedded in the driver code and so is left as is.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/broadcom/cnic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/cnic.c b/drivers/net/ethernet/broadcom/cnic.c index d83233ae4a15..510dfc1c236b 100644 --- a/drivers/net/ethernet/broadcom/cnic.c +++ b/drivers/net/ethernet/broadcom/cnic.c @@ -5731,7 +5731,7 @@ static int cnic_netdev_event(struct notifier_block *this, unsigned long event, if (realdev) { dev = cnic_from_netdev(realdev); if (dev) { - vid |= VLAN_TAG_PRESENT; + vid |= VLAN_CFI_MASK; /* make non-zero */ cnic_rcv_netevent(dev->cnic_priv, event, vid); cnic_put(dev); } |