mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
kernel-netlink: Forward CPU ID from acquires
This commit is contained in:
parent
4a595508b7
commit
a950ca3ec2
@ -997,6 +997,10 @@ static void process_acquire(private_kernel_netlink_ipsec_t *this,
|
||||
struct xfrm_user_tmpl* tmpl = RTA_DATA(rta);
|
||||
reqid = tmpl->reqid;
|
||||
}
|
||||
if (rta->rta_type == XFRMA_SA_PCPU)
|
||||
{
|
||||
data.cpu = *(uint32_t*)RTA_DATA(rta);
|
||||
}
|
||||
#ifdef USE_SELINUX
|
||||
if (rta->rta_type == XFRMA_SEC_CTX)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user