X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsctp%2Finput.c;h=28f32243397f3b1b9755f42fcc70fa824d92dea0;hb=f35279d3f713e5c97b98cbdbf47d98f79942c11f;hp=742be9171b7df4b1741fad84852f47e6193c03b9;hpb=bdf242eeb0f69567fe43eba93889d80ecacbfe94;p=linux-2.6 diff --git a/net/sctp/input.c b/net/sctp/input.c index 742be9171b..28f3224339 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c @@ -236,8 +236,8 @@ int sctp_rcv(struct sk_buff *skb) } /* SCTP seems to always need a timestamp right now (FIXME) */ - if (skb->stamp.tv_sec == 0) { - do_gettimeofday(&skb->stamp); + if (skb->tstamp.off_sec == 0) { + __net_timestamp(skb); sock_enable_timestamp(sk); }