projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: nft_meta: add l4proto support
[deliverable/linux.git]
/
include
/
net
/
netfilter
/
nf_tables_ipv4.h
diff --git
a/include/net/netfilter/nf_tables_ipv4.h
b/include/net/netfilter/nf_tables_ipv4.h
index f7b3a669aad30b440ef7657a3b3f7e9ddd4fe067..cba143fbd2e4fca9f5d0280dda035215ebd922fb 100644
(file)
--- a/
include/net/netfilter/nf_tables_ipv4.h
+++ b/
include/net/netfilter/nf_tables_ipv4.h
@@
-15,8
+15,9
@@
nft_set_pktinfo_ipv4(struct nft_pktinfo *pkt,
nft_set_pktinfo(pkt, ops, skb, in, out);
- pkt->xt.thoff = ip_hdrlen(pkt->skb);
ip = ip_hdr(pkt->skb);
+ pkt->tprot = ip->protocol;
+ pkt->xt.thoff = ip_hdrlen(pkt->skb);
pkt->xt.fragoff = ntohs(ip->frag_off) & IP_OFFSET;
}
This page took
0.029965 seconds
and
5
git commands to generate.