[ovs-git] Open vSwitch: datapath: Don't drop MTU-sized VLAN packets from userspace (citrix)

dev at openvswitch.org dev at openvswitch.org
Sat Sep 5 05:20:12 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, citrix has been updated
       via  a393b897f27405592dc56f7084796c8bf1815519 (commit)
      from  692c92e092226edcbbbf45466fd31ac09323d526 (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 a393b897f27405592dc56f7084796c8bf1815519
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a393b897f27405592dc56f7084796c8bf1815519
Author: Justin Pettit <jpettit at nicira.com>
		
datapath: Don't drop MTU-sized VLAN packets from userspace
		
Before transimitting a packet, the datapath checks that the packet
length is not greater than the MTU.  It determines the length based on
the 'protocol' field in the skb.  If 'protocol' is ETH_P_8021Q, it reduces
the packet length as stored in the 'len' field by four bytes, which
is the size of a VLAN tag header.  Unfortunately, packets that arrived
from userspace were not having the 'protocol' field set, which would
cause MTU-sized packets to be dropped.  This commit sets the 'protocol'
field appropriately.

Thanks to Ben Pfaff for the help diagnosing this issue.

NIC-17 and NIC-26


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

Summary of changes:
 datapath/datapath.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list