aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2021-03-15 14:43:23 +0000
committerDavid S. Miller <[email protected]>2021-03-16 18:14:59 +0000
commit6f0d32509a92d656d9394788436792d863dff5da (patch)
treeb1e03c705489569be84c5a435f6bbb0a44e62f45 /drivers/net/wan/lapbether.c
parentnet: dsa: b53: spi: allow device tree probing (diff)
downloadkernel-6f0d32509a92d656d9394788436792d863dff5da.tar.gz
kernel-6f0d32509a92d656d9394788436792d863dff5da.zip
net: dsa: sja1105: fix error return code in sja1105_cls_flower_add()
The return value 'rc' maybe overwrite to 0 in the flow_action_for_each loop, the error code from the offload not support error handling will not set. This commit fix it to return -EOPNOTSUPP. Fixes: 6a56e19902af ("flow_offload: reject configuration of packet-per-second policing in offload drivers") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions