diff options
author | Kris Katterjohn <kjak@ispwest.com> | 2006-01-06 21:08:20 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-01-06 21:08:20 (GMT) |
commit | 4bad4dc919573dbe9a5b41dd9edff279e99822d7 (patch) | |
tree | 530b791512cfd2f310c5806d109242bccf090fd7 /include/net | |
parent | dbbc0988288d9643044e8bd8c7e7de70016ecd23 (diff) | |
download | linux-fsl-qoriq-4bad4dc919573dbe9a5b41dd9edff279e99822d7.tar.xz |
[NET]: Change sk_run_filter()'s return type in net/core/filter.c
It should return an unsigned value, and fix sk_filter() as well.
Signed-off-by: Kris Katterjohn <kjak@ispwest.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/sock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 6961700..1806e5b 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -856,8 +856,8 @@ static inline int sk_filter(struct sock *sk, struct sk_buff *skb, int needlock) filter = sk->sk_filter; if (filter) { - int pkt_len = sk_run_filter(skb, filter->insns, - filter->len); + unsigned int pkt_len = sk_run_filter(skb, filter->insns, + filter->len); if (!pkt_len) err = -EPERM; else |