Skip to content

Commit f723a1a

Browse files
osctobedavem330
authored andcommitted
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>
1 parent 1ef212a commit f723a1a

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/broadcom

1 file changed

+1
-1
lines changed

drivers/net/ethernet/broadcom/cnic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5731,7 +5731,7 @@ static int cnic_netdev_event(struct notifier_block *this, unsigned long event,
57315731
if (realdev) {
57325732
dev = cnic_from_netdev(realdev);
57335733
if (dev) {
5734-
vid |= VLAN_TAG_PRESENT;
5734+
vid |= VLAN_CFI_MASK; /* make non-zero */
57355735
cnic_rcv_netevent(dev->cnic_priv, event, vid);
57365736
cnic_put(dev);
57375737
}

0 commit comments

Comments
 (0)