public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [RFC PATCH 0/2] netstress, lib: TCONF on "not supported" in SAFE_SOCKET()
@ 2018-02-27 18:00 Petr Vorel
  2018-02-27 18:00 ` [LTP] [RFC PATCH 1/2] lib: TCONF on ESOCKTNOSUPPORT and EPROTONOSUPPORT " Petr Vorel
  2018-02-27 18:00 ` [LTP] [RFC PATCH 2/2] tst_netload: Exit with TCONF when netstress exit with CONF Petr Vorel
  0 siblings, 2 replies; 4+ messages in thread
From: Petr Vorel @ 2018-02-27 18:00 UTC (permalink / raw)
  To: ltp

Hi Alexey,

these patches on the top of your patch netstress: set port dynamically
on the server-side [1] can detect problems when some feature is missing
(e.g. dccp module not compiled).

The only problem is whether we are ok that SAFE_*() macros can exit with
TCONF or we expect it always to exit with TBROK.

[1] http://lists.linux.it/pipermail/ltp/2018-February/007173.html

Petr Vorel (2):
  lib: TCONF on ESOCKTNOSUPPORT and EPROTONOSUPPORT in SAFE_SOCKET()
  tst_netload: Exit with TCONF when netstress exit with CONF

 lib/safe_net.c            | 9 ++++-----
 testcases/lib/test_net.sh | 4 +++-
 2 files changed, 7 insertions(+), 6 deletions(-)

-- 
2.16.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-28 12:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-27 18:00 [LTP] [RFC PATCH 0/2] netstress, lib: TCONF on "not supported" in SAFE_SOCKET() Petr Vorel
2018-02-27 18:00 ` [LTP] [RFC PATCH 1/2] lib: TCONF on ESOCKTNOSUPPORT and EPROTONOSUPPORT " Petr Vorel
2018-02-28 12:04   ` Cyril Hrubis
2018-02-27 18:00 ` [LTP] [RFC PATCH 2/2] tst_netload: Exit with TCONF when netstress exit with CONF Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox