[NET]: Store skb->timestamp as offset to a base timestamp
[safe/jmp/linux-2.6] / net / ipx / af_ipx.c
index 39d5939..c54f8ac 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);