From 8e2b26562c2e82fd4492d4a27aa24238e47b022a Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Fri, 17 Jun 2016 16:33:23 -0300 Subject: [PATCH] netlink-notifier: change message to a less scary one "received bad netlink message" may be interpreted as a corrupt netlink message. However, the parse functions may return failure when the message contains unexpected attributes or misses non optional attributes. Indicating the message contained "unexpected contents" will avoid some interpretation that there may be some netlink message corruption. Signed-off-by: Thadeu Lima de Souza Cascardo Cc: Aaron Conole Signed-off-by: Ben Pfaff --- lib/netlink-notifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netlink-notifier.c b/lib/netlink-notifier.c index f6d1e4d47..0867952a3 100644 --- a/lib/netlink-notifier.c +++ b/lib/netlink-notifier.c @@ -194,7 +194,7 @@ nln_run(struct nln *nln) if (group != 0) { nln_report(nln, nln->change, group); } else { - VLOG_WARN_RL(&rl, "received bad netlink message"); + VLOG_WARN_RL(&rl, "unexpected netlink message contents"); nln_report(nln, NULL, 0); } ofpbuf_uninit(&buf); -- 2.20.1