diff options
Diffstat (limited to 'security/lsm_audit.c')
-rw-r--r-- | security/lsm_audit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/lsm_audit.c b/security/lsm_audit.c index 893af8a2fa1e..199616bb68d3 100644 --- a/security/lsm_audit.c +++ b/security/lsm_audit.c | |||
@@ -118,8 +118,8 @@ int ipv6_skb_to_auditdata(struct sk_buff *skb, | |||
118 | ip6 = ipv6_hdr(skb); | 118 | ip6 = ipv6_hdr(skb); |
119 | if (ip6 == NULL) | 119 | if (ip6 == NULL) |
120 | return -EINVAL; | 120 | return -EINVAL; |
121 | ipv6_addr_copy(&ad->u.net.v6info.saddr, &ip6->saddr); | 121 | ad->u.net.v6info.saddr = ip6->saddr; |
122 | ipv6_addr_copy(&ad->u.net.v6info.daddr, &ip6->daddr); | 122 | ad->u.net.v6info.daddr = ip6->daddr; |
123 | ret = 0; | 123 | ret = 0; |
124 | /* IPv6 can have several extension header before the Transport header | 124 | /* IPv6 can have several extension header before the Transport header |
125 | * skip them */ | 125 | * skip them */ |