audit: remove useless synchronize_net()
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 29 Nov 2016 17:14:56 +0000 (09:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2016 16:29:02 +0000 (11:29 -0500)
commit60602982720f3a77366ee3e493a6e3d15e7e84f5
treebb3103c6262c7627550d05124974f8a6f11602ed
parent88578468196f72d13672b86b6236f9c6fb035869
audit: remove useless synchronize_net()

netlink kernel socket is protected by refcount, not RCU.
Its rcv path is neither protected by RCU. So the synchronize_net()
is just pointless.

Cc: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/audit.c