Re: [ovs-dev] [PATCH][v2] conntrack: Remove unnecessary check in process_ftp_ctl_v4

2019-02-11 Thread Ben Pfaff
On Mon, Feb 11, 2019 at 10:52:54AM +0800, Li RongQing wrote: > 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 > Signed-off-by: Wang Li >

[ovs-dev] [PATCH][v2] conntrack: Remove unnecessary check in process_ftp_ctl_v4

2019-02-10 Thread Li RongQing
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 Signed-off-by: Wang Li Signed-off-by: Li RongQing Cc: Darrell Ball --- lib/conntrack.c | 7 +--