projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ef212a
)
cnic: remove use of VLAN_TAG_PRESENT
author
Michał Mirosław
<mirq-linux@rere.qmqm.pl>
Thu, 8 Nov 2018 17:44:50 +0000
(18:44 +0100)
committer
David S. Miller
<davem@davemloft.net>
Fri, 9 Nov 2018 03:49:31 +0000
(19:49 -0800)
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>
drivers/net/ethernet/broadcom/cnic.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/broadcom/cnic.c
b/drivers/net/ethernet/broadcom/cnic.c
index
d83233a
..
510dfc1
100644
(file)
--- 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);
}