From: David S. Miller Date: Thu, 10 Aug 2017 05:51:47 +0000 (-0700) Subject: Merge branch 'dsa-flow-dissection' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7e1ecbcf79b2fdc7349da1bb90d6dadad1f9ac89;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 7e1ecbcf79b2fdc7349da1bb90d6dadad1f9ac89