Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be8bd863 authored by David S. Miller's avatar David S. Miller
Browse files

[VLAN] vlan_dev: Use skb_reset_network_header().

parent afdf27c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -382,7 +382,7 @@ int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev,
		}

		skb->protocol = htons(ETH_P_8021Q);
		skb->nh.raw = skb->data;
		skb_reset_network_header(skb);
	}

	/* Before delegating work to the lower layer, enter our MAC-address */