[ovs-git] Open vSwitch: Remove netdev_find_dev_by_in4 (master)

dev at openvswitch.org dev at openvswitch.org
Thu Sep 22 16:29:28 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  ee9bed06cd2794ced29190b6c6539993159d76f5 (commit)
       via  00fa9d37c2b2166358d9967a5fa03dc1ae45b2ca (commit)
       via  0c2c90570b53b715bf5f51d12b1987fd87db3bbf (commit)
       via  72af4a857c677902cdb5007ea4eb63c608215913 (commit)
       via  8e47be7756c593bfd13dcd513df1cf7a90378eeb (commit)
      from  0428ae5f7b6b3a83d501e8b8491923650b79f854 (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 ee9bed06cd2794ced29190b6c6539993159d76f5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ee9bed06cd2794ced29190b6c6539993159d76f5
Author: Simon Horman <horms at verge.net.au>
		
Remove netdev_find_dev_by_in4
		
netdev_find_dev_by_in4() appears to no longer be used and thus
can be removed. This also allows netdev_enumerate(), the
enumerate member of struct netdev_class and netdev_linux_enumerate()
to be removed.

I noticed this as netdev_linux_enumerate() makes use of if_nameindex()
and if_freenameindex() which are not available when compiling using
the Android NDK r6b (Android API level 13).


commit 00fa9d37c2b2166358d9967a5fa03dc1ae45b2ca
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=00fa9d37c2b2166358d9967a5fa03dc1ae45b2ca
Author: Simon Horman <horms at verge.net.au>
		
Do not include net/ethernet.h and linux/if_tunnel.h
		
net/ethernet.h and linux/if_tunnel.h do not appear to be needed
on lib/netdev-linux.c.

I noticed this while trying to build on the Android NDK r6b (Android API
level 13) as these headers are not present there.


commit 0c2c90570b53b715bf5f51d12b1987fd87db3bbf
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0c2c90570b53b715bf5f51d12b1987fd87db3bbf
Author: Simon Horman <horms at verge.net.au>
		
Add fallback definition of SIG_ATOMIC_MAX
		
Android appears to lack SIG_ATOMIC_MAX which is only
used in fatal-signal.c.

Observed when compiling using the Android NDK r6b (Android API level 13).

Patch based on a suggestion by Ben Pfaff


commit 72af4a857c677902cdb5007ea4eb63c608215913
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=72af4a857c677902cdb5007ea4eb63c608215913
Author: Simon Horman <horms at verge.net.au>
		
Include <sys/time.h> in socket-util.h
		
sys/time.h appears to be required for a definition of timespec on Android.

Observed when compiling using the Android NDK r6b (Android API level 13).


commit 8e47be7756c593bfd13dcd513df1cf7a90378eeb
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8e47be7756c593bfd13dcd513df1cf7a90378eeb
Author: Simon Horman <horms at verge.net.au>
		
Include <sys/socket.h> in socket-util.h
		
This appears to be necessary to get a definition of socket_t
when compiling using the Android NDK r6b (Android API level 13).


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

Summary of changes:
 lib/fatal-signal.c    |    6 +++++
 lib/netdev-dummy.c    |    2 -
 lib/netdev-linux.c    |   31 +---------------------------
 lib/netdev-provider.h |   10 ---------
 lib/netdev-vport.c    |    2 -
 lib/netdev.c          |   54 -------------------------------------------------
 lib/netdev.h          |    2 -
 lib/socket-util.h     |    2 +
 8 files changed, 9 insertions(+), 100 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list