Skip to content

Commit

Permalink
audit: remove pr_info for every network namespace
Browse files Browse the repository at this point in the history
A message about creating the audit socket might be fine at startup, but
a pr_info for every single network namespace created on a system isn't
useful.

Signed-off-by: Eric Paris <[email protected]>
  • Loading branch information
eparis committed Jan 17, 2014
1 parent 262fd3a commit 4f06632
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1068,8 +1068,6 @@ static int __net_init audit_net_init(struct net *net)

struct audit_net *aunet = net_generic(net, audit_net_id);

pr_info("initializing netlink socket in namespace\n");

aunet->nlsk = netlink_kernel_create(net, NETLINK_AUDIT, &cfg);
if (aunet->nlsk == NULL) {
audit_panic("cannot initialize netlink socket in namespace");
Expand Down

0 comments on commit 4f06632

Please sign in to comment.