[ovs-git] Open vSwitch: dpif-linux: Fail earlier if OVS kernel module isn't loaded (master)

dev at openvswitch.org dev at openvswitch.org
Fri Oct 2 23:08:25 UTC 2009

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  57aaff8a99d28067f0c9daf9594d54e9b3aaf95c (commit)
      from  0b8870d4a5135cadf2237307b30121075017cb6a (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 57aaff8a99d28067f0c9daf9594d54e9b3aaf95c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=57aaff8a99d28067f0c9daf9594d54e9b3aaf95c
Author: Justin Pettit <jpettit at nicira.com>
dpif-linux: Fail earlier if OVS kernel module isn't loaded
When the kernel module isn't loaded, the bridge tries to open all the
possible minor devices, regardless.  This change first checks that there
is a major device number for Open vSwitch and only then tries to open the
minor devices.

This change also removes the assumption that there's a default Open vSwitch
major device number, since the kernel module always attempts to get a
dynamic one.  Maybe one day we'll have one...

Bug #1179


Summary of changes:
 lib/dpif-linux.c |   40 ++++++++++++++++++++++++++--------------
 1 files changed, 26 insertions(+), 14 deletions(-)

Open vSwitch

More information about the git mailing list