aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r--net/sunrpc/xprtsock.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index 2f630a512ab7..6fa52f44de0f 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -838,8 +838,12 @@ static void xs_udp_data_ready(struct sock *sk, int len)
838 copied = repsize; 838 copied = repsize;
839 839
840 /* Suck it into the iovec, verify checksum if not done by hw. */ 840 /* Suck it into the iovec, verify checksum if not done by hw. */
841 if (csum_partial_copy_to_xdr(&rovr->rq_private_buf, skb)) 841 if (csum_partial_copy_to_xdr(&rovr->rq_private_buf, skb)) {
842 UDPX_INC_STATS_BH(sk, UDP_MIB_INERRORS);
842 goto out_unlock; 843 goto out_unlock;
844 }
845
846 UDPX_INC_STATS_BH(sk, UDP_MIB_INDATAGRAMS);
843 847
844 /* Something worked... */ 848 /* Something worked... */
845 dst_confirm(skb->dst); 849 dst_confirm(skb->dst);