netlink-notifier: change message to a less scary one
authorThadeu Lima de Souza Cascardo <cascardo@redhat.com>
Fri, 17 Jun 2016 19:33:23 +0000 (16:33 -0300)
committerBen Pfaff <blp@ovn.org>
Thu, 23 Jun 2016 21:57:35 +0000 (14:57 -0700)
"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 <cascardo@redhat.com>
Cc: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/netlink-notifier.c

index f6d1e4d..0867952 100644 (file)
@@ -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);