diff options
author | Alex Shi <alex.shi@linaro.org> | 2016-11-25 12:55:17 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2016-11-25 12:55:17 +0800 |
commit | 068e31608ab2e664dce897343a3e5d43c4f023e3 (patch) | |
tree | 8f3cb76ede9e94d1abe48d3f94f627bb8864272f /net/ipv6/tcp_ipv6.c | |
parent | 662d618b983cd0566a1cc2ed28c09a0a4b07b9f3 (diff) | |
parent | 5497d2d7d543b4b8854700d47a175e157fecbfd1 (diff) |
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
Conflicts:
drivers/usb/gadget/function/u_ether.c
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index b831f3eb55a4..50e71e784e85 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -1215,7 +1215,7 @@ static int tcp_v6_do_rcv(struct sock *sk, struct sk_buff *skb) if (skb->protocol == htons(ETH_P_IP)) return tcp_v4_do_rcv(sk, skb); - if (sk_filter(sk, skb)) + if (tcp_filter(sk, skb)) goto discard; /* @@ -1439,8 +1439,10 @@ process: if (tcp_v6_inbound_md5_hash(sk, skb)) goto discard_and_relse; - if (sk_filter(sk, skb)) + if (tcp_filter(sk, skb)) goto discard_and_relse; + th = (const struct tcphdr *)skb->data; + hdr = ipv6_hdr(skb); skb->dev = NULL; |