diff options
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index 2b90a786e475..629019e6f8e9 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -141,6 +141,9 @@ static void dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, | |||
141 | if (type == ICMPV6_PKT_TOOBIG) { | 141 | if (type == ICMPV6_PKT_TOOBIG) { |
142 | struct dst_entry *dst = NULL; | 142 | struct dst_entry *dst = NULL; |
143 | 143 | ||
144 | if (!ip6_sk_accept_pmtu(sk)) | ||
145 | goto out; | ||
146 | |||
144 | if (sock_owned_by_user(sk)) | 147 | if (sock_owned_by_user(sk)) |
145 | goto out; | 148 | goto out; |
146 | if ((1 << sk->sk_state) & (DCCPF_LISTEN | DCCPF_CLOSED)) | 149 | if ((1 << sk->sk_state) & (DCCPF_LISTEN | DCCPF_CLOSED)) |