projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IP]: Introduce ip_hdrlen()
[deliverable/linux.git]
/
net
/
ipv4
/
netfilter
/
ip_tables.c
diff --git
a/net/ipv4/netfilter/ip_tables.c
b/net/ipv4/netfilter/ip_tables.c
index 50cc4b92e2845ae2699e225807582370b09621da..f66966650212d78e5066b7823c36ae683e8f0b00 100644
(file)
--- a/
net/ipv4/netfilter/ip_tables.c
+++ b/
net/ipv4/netfilter/ip_tables.c
@@
-198,7
+198,7
@@
int do_match(struct ipt_entry_match *m,
{
/* Stop iteration if it doesn't match */
if (!m->u.kernel.match->match(skb, in, out, m->u.kernel.match, m->data,
- offset,
skb->nh.iph->ihl*4
, hotdrop))
+ offset,
ip_hdrlen(skb)
, hotdrop))
return 1;
else
return 0;
This page took
0.024925 seconds
and
5
git commands to generate.