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
ASoC: rockchip: i2s: fixup clk div
[firefly-linux-kernel-4.4.55.git]
/
net
/
netfilter
/
nf_tables_netdev.c
diff --git
a/net/netfilter/nf_tables_netdev.c
b/net/netfilter/nf_tables_netdev.c
index 7b9c053ba75072276ee9227ea8d1e67ce3307715..edb3502f20161cf53d44e3fe84d9f0c63072be6a 100644
(file)
--- a/
net/netfilter/nf_tables_netdev.c
+++ b/
net/netfilter/nf_tables_netdev.c
@@
-94,7
+94,7
@@
nft_do_chain_netdev(void *priv, struct sk_buff *skb,
{
struct nft_pktinfo pkt;
- switch (
eth_hdr(skb)->h_proto
) {
+ switch (
skb->protocol
) {
case htons(ETH_P_IP):
nft_netdev_set_pktinfo_ipv4(&pkt, skb, state);
break;