]> err.no Git - linux-2.6/blobdiff - net/ipv6/ip6_input.c
[IPV6]: Allow to replace skbuff by TLV parser.
[linux-2.6] / net / ipv6 / ip6_input.c
index 25c2a9e0389549f05578c2ad3155ab105ef8ecfa..6b8e6d76a58bf2633ea46c84bd7c392367065f42 100644 (file)
@@ -111,7 +111,7 @@ int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt
        }
 
        if (hdr->nexthdr == NEXTHDR_HOP) {
-               if (ipv6_parse_hopopts(skb) < 0) {
+               if (ipv6_parse_hopopts(&skb) < 0) {
                        IP6_INC_STATS_BH(IPSTATS_MIB_INHDRERRORS);
                        return 0;
                }