aboutsummaryrefslogtreecommitdiff
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 cd0600c6796..0a2a7fe08de 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,
struct tcf_pkt_info *info)
{
struct tc_u32_key *key = (struct tc_u32_key *) em->data;
- unsigned char *ptr = skb->nh.raw;
+ const unsigned char *ptr = skb_network_header(skb);
if (info) {
if (info->ptr)