]> Pileus Git - ~andy/linux/commitdiff
lsm: add the missing documentation for the security_skb_owned_by() hook
authorPaul Moore <pmoore@redhat.com>
Wed, 10 Apr 2013 19:34:14 +0000 (15:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Apr 2013 19:40:39 +0000 (15:40 -0400)
Unfortunately we didn't catch the missing comments earlier when the
patch was merged.

Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/security.h

index 6c3a78ace0512267aa64ae3dfe573a89e8c01616..032c366ef1c62b203134e386ad1bc8a92a6c31fe 100644 (file)
@@ -1012,6 +1012,10 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts)
  *     This hook can be used by the module to update any security state
  *     associated with the TUN device's security structure.
  *     @security pointer to the TUN devices's security structure.
+ * @skb_owned_by:
+ *     This hook sets the packet's owning sock.
+ *     @skb is the packet.
+ *     @sk the sock which owns the packet.
  *
  * Security hooks for XFRM operations.
  *