Message ID | 20221123093117.434274-6-steffen.klassert@secunet.com (mailing list archive) |
---|---|
State | Accepted |
Commit | b97df039a68b2f3e848e238df5d5d06343ea497b |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [1/6] xfrm: fix "disable_policy" on ipv4 early demux | expand |
diff --git a/net/key/af_key.c b/net/key/af_key.c index 213287814328..95edcbedf6ef 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c @@ -3394,7 +3394,7 @@ static int pfkey_send_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, hdr->sadb_msg_len = size / sizeof(uint64_t); hdr->sadb_msg_errno = 0; hdr->sadb_msg_reserved = 0; - hdr->sadb_msg_seq = x->km.seq = get_acqseq(); + hdr->sadb_msg_seq = x->km.seq; hdr->sadb_msg_pid = 0; /* SA */