summaryrefslogtreecommitdiffstats
path: root/include/net/pkt_cls.h
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen2018-08-22 12:29:43 +0200
committerDavid S. Miller2018-08-23 06:39:45 +0200
commit93cfb6c17690c465509967aeb237717d10513a88 (patch)
treef28c723e458955719803be8b5e398465c40b29ce /include/net/pkt_cls.h
parentnet/ncsi: Fixup .dumpit message flags and ID check in Netlink handler (diff)
downloadkernel-qcow2-linux-93cfb6c17690c465509967aeb237717d10513a88.tar.gz
kernel-qcow2-linux-93cfb6c17690c465509967aeb237717d10513a88.tar.xz
kernel-qcow2-linux-93cfb6c17690c465509967aeb237717d10513a88.zip
sch_cake: Fix TC filter flow override and expand it to hosts as well
The TC filter flow mapping override completely skipped the call to cake_hash(); however that meant that the internal state was not being updated, which ultimately leads to deadlocks in some configurations. Fix that by passing the overridden flow ID into cake_hash() instead so it can react appropriately. In addition, the major number of the class ID can now be set to override the host mapping in host isolation mode. If both host and flow are overridden (or if the respective modes are disabled), flow dissection and hashing will be skipped entirely; otherwise, the hashing will be kept for the portions that are not set by the filter. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pkt_cls.h')
0 files changed, 0 insertions, 0 deletions