X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fsecurity.h;h=26eca85b2417505f5f1fced4107e622750940738;hb=2457552d1e6f3183cd93f81c49a8da5fe8bb0e42;hp=2c627d361c023570a881b0b19adb509beadd2552;hpb=f42ecb2808db5386f983d593a7c08d3ea3b94a27;p=pandora-kernel.git diff --git a/include/linux/security.h b/include/linux/security.h index 2c627d361c02..26eca85b2417 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -985,6 +985,7 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts) * Check permissions on incoming network packets. This hook is distinct * from Netfilter's IP input hooks since it is the first time that the * incoming sk_buff @skb has been associated with a particular socket, @sk. + * Must not sleep inside this hook because some callers hold spinlocks. * @sk contains the sock (not socket) associated with the incoming sk_buff. * @skb contains the incoming network data. * @socket_getpeersec_stream: