]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipx/af_ipx.c
[NET]: Store skb->timestamp as offset to a base timestamp
[net-next-2.6.git] / net / ipx / af_ipx.c
index 39d5939ccd6cd2e945df78ce8a338ca881df78de..c54f8acc97eb9af4db952f428d9d322071d77398 100644 (file)
@@ -1796,8 +1796,8 @@ static int ipx_recvmsg(struct kiocb *iocb, struct socket *sock,
                                     copied);
        if (rc)
                goto out_free;
-       if (skb->stamp.tv_sec)
-               sk->sk_stamp = skb->stamp;
+       if (skb->tstamp.off_sec)
+               skb_get_timestamp(skb, &sk->sk_stamp)
 
        msg->msg_namelen = sizeof(*sipx);