diff options
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index b24c6ed4a04f..4787f86ae64c 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -1449,12 +1449,8 @@ static void tcp_prequeue_process(struct sock *sk) | |||
1449 | 1449 | ||
1450 | NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPPREQUEUED); | 1450 | NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPPREQUEUED); |
1451 | 1451 | ||
1452 | /* RX process wants to run with disabled BHs, though it is not | ||
1453 | * necessary */ | ||
1454 | local_bh_disable(); | ||
1455 | while ((skb = __skb_dequeue(&tp->ucopy.prequeue)) != NULL) | 1452 | while ((skb = __skb_dequeue(&tp->ucopy.prequeue)) != NULL) |
1456 | sk_backlog_rcv(sk, skb); | 1453 | sk_backlog_rcv(sk, skb); |
1457 | local_bh_enable(); | ||
1458 | 1454 | ||
1459 | /* Clear memory counter. */ | 1455 | /* Clear memory counter. */ |
1460 | tp->ucopy.memory = 0; | 1456 | tp->ucopy.memory = 0; |