[ovs-git] Open vSwitch: odp-util: Clearly indicate VID mask is printed in hex. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jul 3 16:41:26 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  2d39507c5aac5d6e1e841ff338c2378c561d1ff6 (commit)
       via  48432528a53a276d4c75d40bf911ce8c0a24fe66 (commit)
      from  5bc6241b420ba5ce0ff40f9456f0b8215d34f3fb (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 2d39507c5aac5d6e1e841ff338c2378c561d1ff6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2d39507c5aac5d6e1e841ff338c2378c561d1ff6
Author: Justin Pettit <jpettit at nicira.com>
		
odp-util: Clearly indicate VID mask is printed in hex.
		
Signed-off-by: Justin Pettit <jpettit at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>


commit 48432528a53a276d4c75d40bf911ce8c0a24fe66
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=48432528a53a276d4c75d40bf911ce8c0a24fe66
Author: Justin Pettit <jpettit at nicira.com>
		
odp-util: Always encode mask of 0xffff for dl_type < ETH_TYPE_MIN.
		
For non-Ethernet II packets, we don't set an EtherType netlink attribute
and set the Ethertype mask attribute to 0xffff.  The code was encoding
whatever mask was passed in, which could lead to bugs if the caller
didn't know the userspace-kernel interface.

Found by inspection.

Signed-off-by: Justin Pettit <jpettit at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>


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

Summary of changes:
 lib/odp-util.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list