X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fnet%2Fx25device.h;h=1415bcf93980f9c06aca48ee41de41065d72cedb;hb=e6b027a398bcfbb8897353a88a2edfcc97fd604d;hp=1a318374faefc42e853ab4692b9aeb046aebda46;hpb=4dd9e909e3b834b66fd48d6eac50c6557cc50275;p=linux-2.6-omap-h63xx.git diff --git a/include/net/x25device.h b/include/net/x25device.h index 1a318374fae..1415bcf9398 100644 --- a/include/net/x25device.h +++ b/include/net/x25device.h @@ -7,7 +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);