[ovs-git] Open vSwitch: datapath: add netlink error message to help kernel userspace integration. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jul 3 23:51:14 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  1b936472569dbaf1d6140c06789890ea01967456 (commit)
      from  f44ccce1dbd221ada735d92f5cb616a4cef58262 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1b936472569dbaf1d6140c06789890ea01967456
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1b936472569dbaf1d6140c06789890ea01967456
Author: Andy Zhou <azhou at nicira.com>
		
datapath: add netlink error message to help kernel userspace integration.
		
When kernel rejects a netlink message, it usually returns EINVAL
error code to the userspace. The actual reason for rejecting the
netlinke message is not available, making it harder to debug netlink
issues.  This patch adds kernel log messages whenever a netlink message
is rejected with reasons. Those messages are logged at the info level.

Those messages are logged only once per message, to keep kernel log noise
level down. Reload the kernel module to re-enable already logged
messages.

The messages are meant to help developers to debug userspace and kernel
intergration issues. The actual message may change or be removed over time.
These messages are not expected to show up in a production environment.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/datapath.c                          |    8 ++-
 datapath/datapath.h                          |    4 ++
 datapath/flow.c                              |   96 ++++++++++++++++++++------
 datapath/linux/compat/include/linux/kernel.h |   34 +++++++++
 4 files changed, 118 insertions(+), 24 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list