[ovs-git] Open vSwitch: netdev-linux: Fix broken build on RHEL 6. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Sep 22 19:39:06 UTC 2011


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  bb7d0e2287b7f1a593903d06c46a4d08b83b7b80 (commit)
      from  a838c4fe1d5c4e39e52915e6c934c8dca36d17e6 (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 bb7d0e2287b7f1a593903d06c46a4d08b83b7b80
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bb7d0e2287b7f1a593903d06c46a4d08b83b7b80
Author: Ben Pfaff <blp at nicira.com>
		
netdev-linux: Fix broken build on RHEL 6.
		
Commit 00fa9d37c2b "Do not include net/ethernet.h and linux/if_tunnel.h"
introduced a compile error on RHEL 6:

lib/netdev-linux.c: In function 'netdev_linux_listen':
lib/netdev-linux.c:734: error: 'ETH_P_ALL' undeclared (first use in this
function)

This fixes the problem.

I verified that the Android NDK r6b mentioned in the previous commit
contains a file named android-ndk-r6b/platforms/android-3/arch-x86/use/
linux/if_ether.h that defines ETH_P_ALL.  I didn't try building on that
platform.


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

Summary of changes:
 lib/netdev-linux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list