[UDP]: Counter increment should be in USER mode for recvmsg
System calls should be USER. So change the BH to USER for UDP*_INC_STATS_BH(). Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
b2bf1e2659
Коммит
bbca17680f
|
@ -899,7 +899,7 @@ out:
|
|||
return err;
|
||||
|
||||
csum_copy_err:
|
||||
UDP_INC_STATS_BH(UDP_MIB_INERRORS, is_udplite);
|
||||
UDP_INC_STATS_USER(UDP_MIB_INERRORS, is_udplite);
|
||||
|
||||
skb_kill_datagram(sk, skb, flags);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче