]> 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)
commit638e0addc74136efe8ef44dd49e02e4da3e1e2be
tree1ad4d07ef9a12ae6fcccde731365c127e6b23ba3
parentfc71fbf9ec6853d57691d462ab6f67c18e8c5431
parent9125ec31556564bf5c93d7205e1fc97794c1ef74
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>