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>
Fri, 1 Feb 2013 18:33:50 +0000 (10:33 -0800)
commit80af5ee5a526706a80dc772d5d79b7894771b4be
tree36f43fea6302547c6a069ea582db258184377204
parentda78d43d752dbd438236bb11ca440c9c31896393
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