diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/lsm_audit.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/security/lsm_audit.c b/security/lsm_audit.c index 3bb90b6f1dd3..e04566a2c4e5 100644 --- a/security/lsm_audit.c +++ b/security/lsm_audit.c | |||
@@ -273,11 +273,11 @@ static void dump_common_audit_data(struct audit_buffer *ab, | |||
273 | case AF_INET: { | 273 | case AF_INET: { |
274 | struct inet_sock *inet = inet_sk(sk); | 274 | struct inet_sock *inet = inet_sk(sk); |
275 | 275 | ||
276 | print_ipv4_addr(ab, inet->rcv_saddr, | 276 | print_ipv4_addr(ab, inet->inet_rcv_saddr, |
277 | inet->sport, | 277 | inet->inet_sport, |
278 | "laddr", "lport"); | 278 | "laddr", "lport"); |
279 | print_ipv4_addr(ab, inet->daddr, | 279 | print_ipv4_addr(ab, inet->inet_daddr, |
280 | inet->dport, | 280 | inet->inet_dport, |
281 | "faddr", "fport"); | 281 | "faddr", "fport"); |
282 | break; | 282 | break; |
283 | } | 283 | } |
@@ -286,10 +286,10 @@ static void dump_common_audit_data(struct audit_buffer *ab, | |||
286 | struct ipv6_pinfo *inet6 = inet6_sk(sk); | 286 | struct ipv6_pinfo *inet6 = inet6_sk(sk); |
287 | 287 | ||
288 | print_ipv6_addr(ab, &inet6->rcv_saddr, | 288 | print_ipv6_addr(ab, &inet6->rcv_saddr, |
289 | inet->sport, | 289 | inet->inet_sport, |
290 | "laddr", "lport"); | 290 | "laddr", "lport"); |
291 | print_ipv6_addr(ab, &inet6->daddr, | 291 | print_ipv6_addr(ab, &inet6->daddr, |
292 | inet->dport, | 292 | inet->inet_dport, |
293 | "faddr", "fport"); | 293 | "faddr", "fport"); |
294 | break; | 294 | break; |
295 | } | 295 | } |