Commit 8fde8a07 authored by Wang Chen's avatar Wang Chen Committed by David S. Miller

net: Tyop of sk_filter() comment

Parameter "needlock" no long exists.
Signed-off-by: default avatarWang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 84874607
...@@ -68,7 +68,6 @@ static inline void *load_pointer(struct sk_buff *skb, int k, ...@@ -68,7 +68,6 @@ static inline void *load_pointer(struct sk_buff *skb, int k,
* sk_filter - run a packet through a socket filter * sk_filter - run a packet through a socket filter
* @sk: sock associated with &sk_buff * @sk: sock associated with &sk_buff
* @skb: buffer to filter * @skb: buffer to filter
* @needlock: set to 1 if the sock is not locked by caller.
* *
* Run the filter code and then cut skb->data to correct size returned by * Run the filter code and then cut skb->data to correct size returned by
* sk_run_filter. If pkt_len is 0 we toss packet. If skb->len is smaller * sk_run_filter. If pkt_len is 0 we toss packet. If skb->len is smaller
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment