]> git.proxmox.com Git - mirror_ovs.git/commit
conntrack: Remove unnecessary check in process_ftp_ctl_v4
authorLi RongQing <lirongqing@baidu.com>
Mon, 11 Feb 2019 02:52:54 +0000 (10:52 +0800)
committerBen Pfaff <blp@ovn.org>
Tue, 12 Feb 2019 01:55:32 +0000 (17:55 -0800)
commit78a0b2721fc8a3664d99380d55a43638847a9c8f
tree18aa309ad93e68e51d43f664bbcf306c70600609
parent175b9a6401da76994bac955ebc9f440634e63d55
conntrack: Remove unnecessary check in process_ftp_ctl_v4

It has been assured that both first and second int from ftp
command are not bigger than 255, so their combination(first
int << 8 +second int) must not bigger than 65535

Co-authored-by: Wang Li <wangli39@baidu.com>
Signed-off-by: Wang Li <wangli39@baidu.com>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Cc: Darrell Ball <dlu998@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/conntrack.c