audit: fix NULL Pointer dereference at netlink_unicast

Initialize audit_pid and move the position of mutex lock to
prevent sending skb before audit_sock is assigned.

Change-Id: If846ee01133200fe9dc87444449a3b081a8d3032
Signed-off-by: Huang Yiwei <hyiwei@codeaurora.org>
1 file changed