Merge commit 'linux-pnfs/nfs41-for-2.6.31' into nfsv41-for-2.6.31
[firefly-linux-kernel-4.4.55.git] / net / sunrpc / xprtsock.c
index 8a721867b60135e3c4f76a9631884db98ea109a7..9111d11c09fd5955c44b7ee2a9831a61597defb5 100644 (file)
@@ -928,7 +928,7 @@ static void xs_udp_data_ready(struct sock *sk, int len)
        UDPX_INC_STATS_BH(sk, UDP_MIB_INDATAGRAMS);
 
        /* Something worked... */
-       dst_confirm(skb->dst);
+       dst_confirm(skb_dst(skb));
 
        xprt_adjust_cwnd(task, copied);
        xprt_update_rtt(task);