Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: Tyop of sk_filter() comment

Parameter "needlock" no long exists.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Wang Chen and committed by
David S. Miller
8fde8a07 84874607

-1
-1
net/core/filter.c
··· 68 68 * sk_filter - run a packet through a socket filter 69 69 * @sk: sock associated with &sk_buff 70 70 * @skb: buffer to filter 71 - * @needlock: set to 1 if the sock is not locked by caller. 72 71 * 73 72 * Run the filter code and then cut skb->data to correct size returned by 74 73 * sk_run_filter. If pkt_len is 0 we toss packet. If skb->len is smaller