X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fx25device.h;h=1415bcf93980f9c06aca48ee41de41065d72cedb;hb=f6ac436dcc4c34709bcde355f3f2254ac0a183d4;hp=1d10c879f7e241b8543e0f86cb51d45e56381982;hpb=35a5d9ed9fedb74c22cb19ff7d749289473144e0;p=linux-2.6 diff --git a/include/net/x25device.h b/include/net/x25device.h index 1d10c879f7..1415bcf939 100644 --- a/include/net/x25device.h +++ b/include/net/x25device.h @@ -7,8 +7,8 @@ static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev) { - skb->mac.raw = skb->data; skb->dev = dev; + skb_reset_mac_header(skb); skb->pkt_type = PACKET_HOST; return htons(ETH_P_X25);