diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2019-04-04 16:01:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-04 20:55:59 +0300 |
commit | b2100cc56fca8c51d28aa42a9f1fbcb2cf351996 (patch) | |
tree | f31ed49cb46d49d2d89516a7164784dd71e1c0c7 /net/nsh | |
parent | aecfde23108b8e637d9f5c5e523b24fb97035dc3 (diff) | |
download | linux-b2100cc56fca8c51d28aa42a9f1fbcb2cf351996.tar.xz |
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>
Diffstat (limited to 'net/nsh')
0 files changed, 0 insertions, 0 deletions