projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETFILTER]: netfilter: xt_u32 bug correction
[firefly-linux-kernel-4.4.55.git]
/
net
/
netfilter
/
xt_u32.c
diff --git
a/net/netfilter/xt_u32.c
b/net/netfilter/xt_u32.c
index 74f9b14c012f45e819938e6bb5c2873163d0cd13..bec427915b302fa2d9731de6045a9a6e8bd14ee4 100644
(file)
--- a/
net/netfilter/xt_u32.c
+++ b/
net/netfilter/xt_u32.c
@@
-36,7
+36,7
@@
static bool u32_match_it(const struct xt_u32 *data,
at = 0;
pos = ct->location[0].number;
- if (skb->len < 4 || pos > skb->len - 4)
;
+ if (skb->len < 4 || pos > skb->len - 4)
return false;
ret = skb_copy_bits(skb, pos, &n, sizeof(n));