aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rxrpc/input.c')
-rw-r--r--net/rxrpc/input.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c
index b5fd6381313d..608d078a4981 100644
--- a/net/rxrpc/input.c
+++ b/net/rxrpc/input.c
@@ -1278,8 +1278,14 @@ void rxrpc_data_ready(struct sock *udp_sk)
1278 call = NULL; 1278 call = NULL;
1279 } 1279 }
1280 1280
1281 if (call && sp->hdr.serviceId != call->service_id) 1281 if (call) {
1282 call->service_id = sp->hdr.serviceId; 1282 if (sp->hdr.serviceId != call->service_id)
1283 call->service_id = sp->hdr.serviceId;
1284 if ((int)sp->hdr.serial - (int)call->rx_serial > 0)
1285 call->rx_serial = sp->hdr.serial;
1286 if (!test_bit(RXRPC_CALL_RX_HEARD, &call->flags))
1287 set_bit(RXRPC_CALL_RX_HEARD, &call->flags);
1288 }
1283 } else { 1289 } else {
1284 skew = 0; 1290 skew = 0;
1285 call = NULL; 1291 call = NULL;