]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/ax25.h
epoll cleanups: epoll remove static pre-declarations and akpm-ize the code
[linux-2.6-omap-h63xx.git] / include / net / ax25.h
index 47ff2f46e9086b7d465f5357bc5b156330849acf..99a4e364c74ae6db4efa55849890617e11cc7258 100644 (file)
@@ -263,8 +263,8 @@ static __inline__ void ax25_cb_put(ax25_cb *ax25)
 static inline __be16 ax25_type_trans(struct sk_buff *skb, struct net_device *dev)
 {
        skb->dev      = dev;
+       skb_reset_mac_header(skb);
        skb->pkt_type = PACKET_HOST;
-       skb->mac.raw  = skb->data;
        return htons(ETH_P_AX25);
 }