diff options
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 37aa9bf8d382..95e0d3b8977f 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
@@ -1250,6 +1250,9 @@ csum_copy_err: | |||
1250 | 1250 | ||
1251 | if (noblock) | 1251 | if (noblock) |
1252 | return -EAGAIN; | 1252 | return -EAGAIN; |
1253 | |||
1254 | /* starting over for a new packet */ | ||
1255 | msg->msg_flags &= ~MSG_TRUNC; | ||
1253 | goto try_again; | 1256 | goto try_again; |
1254 | } | 1257 | } |
1255 | 1258 | ||