Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
08bd44b
)
tap: fix tun set mtu
93/35493/2
author
Benoît Ganne
<bganne@cisco.com>
Tue, 1 Mar 2022 15:48:40 +0000
(16:48 +0100)
committer
Neale Ranns
<neale@graphiant.com>
Wed, 2 Mar 2022 11:09:00 +0000
(11:09 +0000)
Type: fix
Fixes:
1cd0e5dd533f4209dde453eaa43215e52cd42985
Change-Id: I64318585fb3b12369b78735c681f3b747c67b53b
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/devices/tap/tap.c
patch
|
blob
|
history
diff --git
a/src/vnet/devices/tap/tap.c
b/src/vnet/devices/tap/tap.c
index
7c8a9b0
..
b7ccba9
100644
(file)
--- a/
src/vnet/devices/tap/tap.c
+++ b/
src/vnet/devices/tap/tap.c
@@
-694,7
+694,7
@@
tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args)
{
hw->min_frame_size = TUN_MIN_PACKET_BYTES;
vnet_hw_interface_set_mtu (
{
hw->min_frame_size = TUN_MIN_PACKET_BYTES;
vnet_hw_interface_set_mtu (
- vnm, hw->
s
w_if_index,
+ vnm, hw->
h
w_if_index,
args->host_mtu_size ? args->host_mtu_size : TUN_DEFAULT_PACKET_BYTES);
}
args->host_mtu_size ? args->host_mtu_size : TUN_DEFAULT_PACKET_BYTES);
}