]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/dccp/ipv4.c
inet: refactor inet[6]_lookup functions to take skb
[mirror_ubuntu-zesty-kernel.git] / net / dccp / ipv4.c
index 5684e14932bd47e97b9d547307bfc50230e7be7d..1e0c600c83ae26eba44d380d689ab81b6eb94e70 100644 (file)
@@ -802,7 +802,7 @@ static int dccp_v4_rcv(struct sk_buff *skb)
        }
 
 lookup:
-       sk = __inet_lookup_skb(&dccp_hashinfo, skb,
+       sk = __inet_lookup_skb(&dccp_hashinfo, skb, __dccp_hdr_len(dh),
                               dh->dccph_sport, dh->dccph_dport);
        if (!sk) {
                dccp_pr_debug("failed to look up flow ID in table and "