summaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-12-04 12:43:14 +0100
committerJakub Kicinski <kuba@kernel.org>2020-12-05 00:43:14 +0100
commitbb2da7651a47dc042cb7fc9c40cd77092b6b4445 (patch)
tree7d1dfc8bee8966ac6b34cc203e0d85ad4e053c07 /net/dccp
parentnet: bridge: vlan: fix error return code in __vlan_add() (diff)
downloadlinux-bb2da7651a47dc042cb7fc9c40cd77092b6b4445.tar.xz
linux-bb2da7651a47dc042cb7fc9c40cd77092b6b4445.zip
openvswitch: fix error return code in validate_and_copy_dec_ttl()
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Changing 'return start' to 'return action_start' can fix this bug. Fixes: 69929d4c49e1 ("net: openvswitch: fix TTL decrement action netlink message format") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Reviewed-by: Eelco Chaudron <echaudro@redhat.com> Link: https://lore.kernel.org/r/20201204114314.1596-1-wanghai38@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions