aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/em_u32.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/em_u32.c')
-rw-r--r--net/sched/em_u32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/em_u32.c b/net/sched/em_u32.c
index cd0600c67969..0a2a7fe08de3 100644
--- a/net/sched/em_u32.c
+++ b/net/sched/em_u32.c
@@ -22,7 +22,7 @@ static int em_u32_match(struct sk_buff *skb, struct tcf_ematch *em,
22 struct tcf_pkt_info *info) 22 struct tcf_pkt_info *info)
23{ 23{
24 struct tc_u32_key *key = (struct tc_u32_key *) em->data; 24 struct tc_u32_key *key = (struct tc_u32_key *) em->data;
25 unsigned char *ptr = skb->nh.raw; 25 const unsigned char *ptr = skb_network_header(skb);
26 26
27 if (info) { 27 if (info) {
28 if (info->ptr) 28 if (info->ptr)