summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-05-27 20:36:51 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2011-06-06 01:37:16 +0200
commitd232b8dded624af3e346b13807a591c63b601c44 (patch)
tree722088abe0459a4c425d0f2e14bb74e03cd6bab5 /net/ipv6
parent88ed01d17b44bc2bed4ad4835d3b1099bff3dd71 (diff)
downloadblackbird-obmc-linux-d232b8dded624af3e346b13807a591c63b601c44.tar.gz
blackbird-obmc-linux-d232b8dded624af3e346b13807a591c63b601c44.zip
netfilter: use unsigned variables for packet lengths in ip[6]_queue.
Netlink message lengths can't be negative, so use unsigned variables. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/netfilter/ip6_queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6_queue.c b/net/ipv6/netfilter/ip6_queue.c
index 413ab0754e1f..065fe405fb58 100644
--- a/net/ipv6/netfilter/ip6_queue.c
+++ b/net/ipv6/netfilter/ip6_queue.c
@@ -403,7 +403,8 @@ ipq_dev_drop(int ifindex)
static inline void
__ipq_rcv_skb(struct sk_buff *skb)
{
- int status, type, pid, flags, nlmsglen, skblen;
+ int status, type, pid, flags;
+ unsigned int nlmsglen, skblen;
struct nlmsghdr *nlh;
skblen = skb->len;
OpenPOWER on IntegriCloud