diff options
author | Joe Stringer | 2015-09-14 20:14:50 +0200 |
---|---|---|
committer | David S. Miller | 2015-09-18 00:31:49 +0200 |
commit | cc5706056baa3002b844ff240a1cc2199a978795 (patch) | |
tree | e432102079b6cf36d60694424aeddfc5f6398df0 /lib/crc-itu-t.c | |
parent | ipv6: include NLM_F_REPLACE in route replace notifications (diff) | |
download | kernel-qcow2-linux-cc5706056baa3002b844ff240a1cc2199a978795.tar.gz kernel-qcow2-linux-cc5706056baa3002b844ff240a1cc2199a978795.tar.xz kernel-qcow2-linux-cc5706056baa3002b844ff240a1cc2199a978795.zip |
openvswitch: Fix IPv6 exthdr handling with ct helpers.
Static code analysis reveals the following bug:
net/openvswitch/conntrack.c:281 ovs_ct_helper()
warn: unsigned 'protoff' is never less than zero.
This signedness bug breaks error handling for IPv6 extension headers when
using conntrack helpers. Fix the error by using a local signed variable.
Fixes: cae3a2627520: "openvswitch: Allow attaching helpers to ct
action"
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions