mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 13:58:14 +00:00
dpif-netdev: Allow for Ethernet and VLAN header in buffer size calculation.
This is a long-standing bug--it was present in version 1.0 too. Reported-by: Gaetano Catalli <gaetano.catalli@gmail.com> Solution by Jesse Gross <jesse@nicira.com>
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -48,6 +48,7 @@ Cedric Hobbs cedric@nicira.com
|
||||
Dave Walker DaveWalker@ubuntu.com
|
||||
Derek Cormier derek.cormier@lab.ntt.co.jp
|
||||
DK Moon dkmoon@nicira.com
|
||||
Gaetano Catalli gaetano.catalli@gmail.com
|
||||
Ghanem Bahri bahri.ghanem@gmail.com
|
||||
Hector Oron hector.oron@gmail.com
|
||||
Henrik Amren henrik@nicira.com
|
||||
|
@@ -950,7 +950,7 @@ dp_netdev_run(void)
|
||||
struct shash_node *node;
|
||||
struct ofpbuf packet;
|
||||
|
||||
ofpbuf_init(&packet, DP_NETDEV_HEADROOM + max_mtu);
|
||||
ofpbuf_init(&packet, DP_NETDEV_HEADROOM + VLAN_ETH_HEADER_LEN + max_mtu);
|
||||
SHASH_FOR_EACH (node, &dp_netdevs) {
|
||||
struct dp_netdev *dp = node->data;
|
||||
struct dp_netdev_port *port;
|
||||
|
Reference in New Issue
Block a user