diff options
author | Alex Shi <alex.shi@linaro.org> | 2016-03-18 12:02:43 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2016-03-18 12:02:43 +0800 |
commit | 241bca50dd1ae71a7cd7eebe579bd131bf986167 (patch) | |
tree | f9d4af30aefba27b3c00074d935f8b5b01d54939 /net/ipv6/ip6_output.c | |
parent | 1ebca975cbc0ab4708126e26bf2729777184f1e6 (diff) | |
parent | 5cc3b58828a8bb2ebb34de96d1aec1564f912a31 (diff) |
Merge branch 'linux-linaro-lsk-v4.1' into linux-linaro-lsk-v4.1-androidlsk-v4.1-16.03-android
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r-- | net/ipv6/ip6_output.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 36b9ac48b8fb..06bf4010d3ed 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c @@ -376,6 +376,9 @@ int ip6_forward(struct sk_buff *skb) if (skb->pkt_type != PACKET_HOST) goto drop; + if (unlikely(skb->sk)) + goto drop; + if (skb_warn_if_lro(skb)) goto drop; |