Users may be not aware the user space helpers conflict with kernel space ones, so add a hint about the possible cause of the EEXIST code returned by the kernel. Cc: Yi Chen Signed-off-by: Phil Sutter --- src/nfct-extensions/helper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nfct-extensions/helper.c b/src/nfct-extensions/helper.c index 894bf269ad2bb..5592dc1340bea 100644 --- a/src/nfct-extensions/helper.c +++ b/src/nfct-extensions/helper.c @@ -229,6 +229,9 @@ static int nfct_cmd_helper_add(struct mnl_socket *nl, int argc, char *argv[]) portid = mnl_socket_get_portid(nl); if (nfct_mnl_talk(nl, nlh, seq, portid, NULL, NULL) < 0) { nfct_perror("netlink error"); + if (errno == EEXIST) + fprintf(stderr, + "Maybe unload nf_conntrack_%s.ko first?\n", argv[3]); return -1; } -- 2.49.0