]> git.neil.brown.name Git - history.git/commitdiff
o vlan: fix comment about understanding shared skbs.
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sat, 3 May 2003 18:03:26 +0000 (15:03 -0300)
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sat, 3 May 2003 18:03:26 +0000 (15:03 -0300)
net/8021q/vlan.c

index dca49f3d367b10b86226e3c9dd749da6580d0372..7a12d1cc047c20d7add5aecce1949238dab433e4 100644 (file)
@@ -66,9 +66,8 @@ unsigned short vlan_default_dev_flags = 1;
 
 static struct packet_type vlan_packet_type = {
        .type = __constant_htons(ETH_P_8021Q),
-       .dev =NULL,
        .func = vlan_skb_recv, /* VLAN receive method */
-       .data = (void *)(-1),  /* Set here '(void *)1' when this code can SHARE SKBs */
+       .data = (void *)1,     /* understands shared skb */
 };
 
 /* End of global variables definitions. */