diff options
Diffstat (limited to 'net/ipv4/udp.c')
| -rw-r--r-- | net/ipv4/udp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 6d6142f9c478..865d75214a9a 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
| @@ -675,6 +675,8 @@ do_append_data: | |||
| 675 | udp_flush_pending_frames(sk); | 675 | udp_flush_pending_frames(sk); |
| 676 | else if (!corkreq) | 676 | else if (!corkreq) |
| 677 | err = udp_push_pending_frames(sk, up); | 677 | err = udp_push_pending_frames(sk, up); |
| 678 | else if (unlikely(skb_queue_empty(&sk->sk_write_queue))) | ||
| 679 | up->pending = 0; | ||
| 678 | release_sock(sk); | 680 | release_sock(sk); |
| 679 | 681 | ||
| 680 | out: | 682 | out: |
