summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-12-20 11:24:21 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-04 19:18:43 +0100
commit770247f2b26419303a2a574ddce96e7d45c646b7 (patch)
treead4416403a85342f101f639414b2b5896d0238dd /kernel
parent49ba803590429e6c82a7c4b78cf0a456b5f270ca (diff)
net: dsa: bcm_sf2: Fix IP fragment location and behavior
[ Upstream commit 7c3125f0a6ebc17846c5908ad7d6056d66c1c426 ] The IP fragment is specified through user-defined field as the first bit of the first user-defined word. We were previously trying to extract it from the user-defined mask which could not possibly work. The ip_frag is also supposed to be a boolean, if we do not cast it as such, we risk overwriting the next fields in CFP_DATA(6) which would render the rule inoperative. Fixes: 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions