[SK_BUFF]: Introduce skb_transport_header(skb)
[linux-block.git] / net / 802 / psnap.c
index 6e7c2120b83ff6a678ca0e3e33f377b713a711cf..7cba1f426081b61f45886c28f53a2cea5b93f602 100644 (file)
@@ -56,7 +56,7 @@ static int snap_rcv(struct sk_buff *skb, struct net_device *dev,
        };
 
        rcu_read_lock();
-       proto = find_snap_client(skb->h.raw);
+       proto = find_snap_client(skb_transport_header(skb));
        if (proto) {
                /* Pass the frame on. */
                skb->h.raw  += 5;