diff options
-rw-r--r-- | net/bridge/br_netfilter.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index 6787bc5197f7..70a395baaa01 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c | |||
@@ -424,7 +424,6 @@ static unsigned int br_nf_pre_routing(unsigned int hook, struct sk_buff **pskb, | |||
424 | goto out; | 424 | goto out; |
425 | 425 | ||
426 | if (skb->protocol == __constant_htons(ETH_P_8021Q)) { | 426 | if (skb->protocol == __constant_htons(ETH_P_8021Q)) { |
427 | u8 *vhdr = skb->data; | ||
428 | skb_pull_rcsum(skb, VLAN_HLEN); | 427 | skb_pull_rcsum(skb, VLAN_HLEN); |
429 | skb->nh.raw += VLAN_HLEN; | 428 | skb->nh.raw += VLAN_HLEN; |
430 | } | 429 | } |
@@ -442,7 +441,6 @@ static unsigned int br_nf_pre_routing(unsigned int hook, struct sk_buff **pskb, | |||
442 | goto out; | 441 | goto out; |
443 | 442 | ||
444 | if (skb->protocol == __constant_htons(ETH_P_8021Q)) { | 443 | if (skb->protocol == __constant_htons(ETH_P_8021Q)) { |
445 | u8 *vhdr = skb->data; | ||
446 | skb_pull_rcsum(skb, VLAN_HLEN); | 444 | skb_pull_rcsum(skb, VLAN_HLEN); |
447 | skb->nh.raw += VLAN_HLEN; | 445 | skb->nh.raw += VLAN_HLEN; |
448 | } | 446 | } |