commit | b2100cc56fca8c51d28aa42a9f1fbcb2cf351996 | [log] [tgz] |
---|---|---|
author | Toke Høiland-Jørgensen <toke@redhat.com> | Thu Apr 04 15:01:33 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 04 10:55:59 2019 -0700 |
tree | f31ed49cb46d49d2d89516a7164784dd71e1c0c7 | |
parent | aecfde23108b8e637d9f5c5e523b24fb97035dc3 [diff] |
sch_cake: Use tc_skb_protocol() helper for getting packet protocol We shouldn't be using skb->protocol directly as that will miss cases with hardware-accelerated VLAN tags. Use the helper instead to get the right protocol number. Reported-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>