diff options
Diffstat (limited to 'net/rxrpc/transport.c')
-rw-r--r-- | net/rxrpc/transport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/rxrpc/transport.c b/net/rxrpc/transport.c index 4268b38d92d2..ff5f4f333086 100644 --- a/net/rxrpc/transport.c +++ b/net/rxrpc/transport.c | |||
@@ -330,10 +330,10 @@ static int rxrpc_incoming_msg(struct rxrpc_transport *trans, | |||
330 | msg->state = RXRPC_MSG_RECEIVED; | 330 | msg->state = RXRPC_MSG_RECEIVED; |
331 | skb_get_timestamp(pkt, &msg->stamp); | 331 | skb_get_timestamp(pkt, &msg->stamp); |
332 | if (msg->stamp.tv_sec == 0) { | 332 | if (msg->stamp.tv_sec == 0) { |
333 | do_gettimeofday(&msg->stamp); | 333 | do_gettimeofday(&msg->stamp); |
334 | if (pkt->sk) | 334 | if (pkt->sk) |
335 | sock_enable_timestamp(pkt->sk); | 335 | sock_enable_timestamp(pkt->sk); |
336 | } | 336 | } |
337 | msg->seq = ntohl(msg->hdr.seq); | 337 | msg->seq = ntohl(msg->hdr.seq); |
338 | 338 | ||
339 | /* attach the packet */ | 339 | /* attach the packet */ |