From: Wang Chen Date: Mon, 3 Dec 2007 11:36:13 +0000 (+1100) Subject: [UDP]: Counter increment should be in USER mode for recvmsg X-Git-Tag: v2.6.25-rc1~1162^2~1273 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bbca17680f82b1ba3122d41e8bc675aebf6d1cf2;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 5e67e324529..d0283b7fcec 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -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);