]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-flow-dissection'
authorDavid S. Miller <davem@davemloft.net>
Thu, 10 Aug 2017 05:51:47 +0000 (22:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Aug 2017 05:53:40 +0000 (22:53 -0700)
commit38edf24ebeb37db0d0192b1d2166eb2bbd054b39
tree1ad4d07ef9a12ae6fcccde731365c127e6b23ba3
parent148cd4b3c956cbf9b99667e5b757a841157a5e4c
parent3c4a070413d610c8265bdbbdec4a3fba17c23178
Merge branch 'dsa-flow-dissection'

John Crispin says:

====================
net-next: dsa: fix flow dissection

RPS and probably other kernel features are currently broken on some if not
all DSA devices. The root cause of this is that skb_hash will call the
flow_dissector. At this point the skb still contains the magic switch
header and the skb->protocol field is not set up to the correct 802.3
value yet. By the time the tag specific code is called, removing the header
and properly setting the protocol an invalid hash is already set. In the
case of the mt7530 this will result in all flows always having the same
hash.

Changes since RFC:
* use a callback instead of static values
* add cover letter
====================

Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>