diff options
author | Paul Moore <paul.moore@hp.com> | 2006-09-29 20:05:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-09-29 20:05:05 -0400 |
commit | 95d4e6be25a68cd9fbe8c0d356b585504d8db1c7 (patch) | |
tree | 2133c970e6786bdf82004ace225b6bca19b9ddba /net/ipv4/cipso_ipv4.c | |
parent | d6c641026dec68acfb4b0baa98aad960e963ed97 (diff) |
[NetLabel]: audit fixups due to delayed feedback
Fix some issues Steve Grubb had with the way NetLabel was using the audit
subsystem. This should make NetLabel more consistent with other kernel
generated audit messages specifying configuration changes.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/cipso_ipv4.c')
-rw-r--r-- | net/ipv4/cipso_ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c index c4e469ff842d..a8e2e879a647 100644 --- a/net/ipv4/cipso_ipv4.c +++ b/net/ipv4/cipso_ipv4.c | |||
@@ -485,7 +485,7 @@ doi_add_failure_rlock: | |||
485 | * | 485 | * |
486 | */ | 486 | */ |
487 | int cipso_v4_doi_remove(u32 doi, | 487 | int cipso_v4_doi_remove(u32 doi, |
488 | u32 audit_secid, | 488 | struct netlbl_audit *audit_info, |
489 | void (*callback) (struct rcu_head * head)) | 489 | void (*callback) (struct rcu_head * head)) |
490 | { | 490 | { |
491 | struct cipso_v4_doi *doi_def; | 491 | struct cipso_v4_doi *doi_def; |
@@ -506,7 +506,7 @@ int cipso_v4_doi_remove(u32 doi, | |||
506 | list_for_each_entry_rcu(dom_iter, &doi_def->dom_list, list) | 506 | list_for_each_entry_rcu(dom_iter, &doi_def->dom_list, list) |
507 | if (dom_iter->valid) | 507 | if (dom_iter->valid) |
508 | netlbl_domhsh_remove(dom_iter->domain, | 508 | netlbl_domhsh_remove(dom_iter->domain, |
509 | audit_secid); | 509 | audit_info); |
510 | cipso_v4_cache_invalidate(); | 510 | cipso_v4_cache_invalidate(); |
511 | rcu_read_unlock(); | 511 | rcu_read_unlock(); |
512 | 512 | ||