summaryrefslogtreecommitdiffstats
path: root/kernel/net/sched/em_ipset.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@netfilter.org>2022-11-07 21:50:05 +0100
committerJozsef Kadlecsik <kadlec@netfilter.org>2022-11-07 21:50:05 +0100
commit6aa65d00f6a7305310eec05218b9ab9dea396658 (patch)
treeaa29ef1b8c07806a7d3edf0a088835accd52f4a7 /kernel/net/sched/em_ipset.c
parentb0a56bb18f10e5be0c2bf668ce50c0203c2b2bdb (diff)
compatibility: move to skb_protocol in the code from tc_skb_protocol
And fix a typo committed by me in em_sched.c too.
Diffstat (limited to 'kernel/net/sched/em_ipset.c')
-rw-r--r--kernel/net/sched/em_ipset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/sched/em_ipset.c b/kernel/net/sched/em_ipset.c
index 4f7184a..5428f8d 100644
--- a/kernel/net/sched/em_ipset.c
+++ b/kernel/net/sched/em_ipset.c
@@ -84,7 +84,7 @@ static int em_ipset_match(struct sk_buff *skb, struct tcf_ematch *em,
#else
#define ACPAR_FAMILY(f) acpar.family = f
#endif
- switch (skb_protocol((skb, true)) {
+ switch (skb_protocol(skb, true)) {
case htons(ETH_P_IP):
ACPAR_FAMILY(NFPROTO_IPV4);
if (!pskb_network_may_pull(skb, sizeof(struct iphdr)))