netlink-socket: Don't bother logging SO_RCVBUFFORCE failure as non-root.
authorBen Pfaff <blp@nicira.com>
Fri, 17 Aug 2012 22:40:03 +0000 (15:40 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 16 Jul 2013 16:50:30 +0000 (09:50 -0700)
commit17159379b8fe271c6ed567244a3b3999848ec0c0
tree93486357cfbc2b908f92685110e12e5c66f5654c
parentc75310c38d6f6d362fa205f8661d2ee23c91c0ed
netlink-socket: Don't bother logging SO_RCVBUFFORCE failure as non-root.

Some Open vSwitch utilities can do useful work when they are not run as
root.  Without this commit, these utilities will log a warning on failure
to use the SO_RCVBUFFORCE socket option if they open any Netlink sockets.
This will always happen, it does not report anything unexpected or
fixable as non-root, and sometimes it makes users wonder if something is
wrong, so there is no benefit to logging it.  This commit drops it in that
case.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netlink-socket.c