diff options
Diffstat (limited to 'net/sched/act_csum.c')
-rw-r--r-- | net/sched/act_csum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_csum.c b/net/sched/act_csum.c index edbf40dac709..4cd5cf1aedf8 100644 --- a/net/sched/act_csum.c +++ b/net/sched/act_csum.c | |||
@@ -509,7 +509,7 @@ static int tcf_csum(struct sk_buff *skb, | |||
509 | if (unlikely(action == TC_ACT_SHOT)) | 509 | if (unlikely(action == TC_ACT_SHOT)) |
510 | goto drop; | 510 | goto drop; |
511 | 511 | ||
512 | switch (skb->protocol) { | 512 | switch (tc_skb_protocol(skb)) { |
513 | case cpu_to_be16(ETH_P_IP): | 513 | case cpu_to_be16(ETH_P_IP): |
514 | if (!tcf_csum_ipv4(skb, update_flags)) | 514 | if (!tcf_csum_ipv4(skb, update_flags)) |
515 | goto drop; | 515 | goto drop; |