When been testing the kernel with fresh trinity repo our admins were unhappy about traffic which came from our testing nodes, so here we add --no_proto option which allow a user to exclude specified protocols from testing. Please take a look, hope I don't miss something obvious. Comments are highly appreciated! Cyrill Gorcunov (6): log: Add BUG_ON helper net: protocols -- Use ARRAY_SIZE helper net: protocols -- Add lookup_proto helper net: protocols -- Move protocol function declarations to protocols.h params: Add --no_proto|-E option net: sockets -- Don't generate sockets with disabled protocol families include/log.h | 2 ++ include/net.h | 2 -- include/params.h | 2 ++ include/protocols.h | 9 +++++ net/protocols.c | 94 ++++++++++++++++++++++++++++++++++++++++------------- params.c | 11 ++++++- sockets.c | 27 ++++++++++++--- syscalls/socket.c | 36 ++++++++++++++++++-- trinity.c | 1 + 9 files changed, 153 insertions(+), 31 deletions(-) create mode 100644 include/protocols.h -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe trinity" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html