OSDN Git Service

Don't log "Unexpected netlink message" on NDUSEROPT
authorLorenzo Colitti <lorenzo@google.com>
Thu, 12 Sep 2013 15:56:23 +0000 (00:56 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Thu, 12 Sep 2013 16:03:55 +0000 (01:03 +0900)
commita95f8a3426e6a4f17cf41888673f58302781b7be
tree860dafe998cc804cd2c2657415b57883de231f30
parent991693e023ddbf9f9da25e1fbb06c0fef71915a9
Don't log "Unexpected netlink message" on NDUSEROPT

When opening the netlink socket, NetlinkManager specifies it's
interested in ND_USEROPT messages, but we since we don't have
code to parse them yet, we end up logging an error message for
packets that contain them. Get rid of the logspam by not asking
the kernel to receive them.

Bug: 10718651
Change-Id: Ib1b7748448a983cfa7bb7725e48e238d85152ea2
NetlinkManager.cpp