diff options
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r-- | net/ipv6/udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 77ab31b99232..87bccec9882a 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c | |||
@@ -207,8 +207,8 @@ out: | |||
207 | return err; | 207 | return err; |
208 | 208 | ||
209 | csum_copy_err: | 209 | csum_copy_err: |
210 | UDP6_INC_STATS_USER(UDP_MIB_INERRORS, is_udplite); | 210 | if (!skb_kill_datagram(sk, skb, flags)) |
211 | skb_kill_datagram(sk, skb, flags); | 211 | UDP6_INC_STATS_USER(UDP_MIB_INERRORS, is_udplite); |
212 | 212 | ||
213 | if (flags & MSG_DONTWAIT) | 213 | if (flags & MSG_DONTWAIT) |
214 | return -EAGAIN; | 214 | return -EAGAIN; |