Hi Cyril, Can we apply this patch before release?
Thanks, Alexey On 08/25/2015 11:51 AM, Alexey Kodanev wrote: > Signed-off-by: Alexey Kodanev <alexey.koda...@oracle.com> > --- > testcases/network/tcp_fastopen/tcp_fastopen.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/testcases/network/tcp_fastopen/tcp_fastopen.c > b/testcases/network/tcp_fastopen/tcp_fastopen.c > index 6c0d7b8..08a6019 100644 > --- a/testcases/network/tcp_fastopen/tcp_fastopen.c > +++ b/testcases/network/tcp_fastopen/tcp_fastopen.c > @@ -669,7 +669,7 @@ static void check_opt(const char *name, char *arg, int > *val, int lim) > if (sscanf(arg, "%i", val) != 1) > tst_brkm(TBROK, NULL, "-%s option arg is not a number", > name); > - if (clients_num < lim) > + if (*val < lim) > tst_brkm(TBROK, NULL, "-%s option arg is less than %d", > name, lim); > } > @@ -681,7 +681,7 @@ static void check_opt_l(const char *name, char *arg, long > *val, long lim) > if (sscanf(arg, "%ld", val) != 1) > tst_brkm(TBROK, NULL, "-%s option arg is not a number", > name); > - if (clients_num < lim) > + if (*val < lim) > tst_brkm(TBROK, NULL, "-%s option arg is less than %ld", > name, lim); > } ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list