Vlan did not set the value of if_hw_tsomax, so when vlan
authorrmacklem <rmacklem@FreeBSD.org>
Tue, 15 Apr 2014 21:48:35 +0000 (21:48 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Tue, 15 Apr 2014 21:48:35 +0000 (21:48 +0000)
commit6067137dbdfa199da937bd3c3404c875e6a8eee6
tree980d728965057747b656d4b5712625e11971ad7b
parent03a8cfa7d96a094ff8e6eda2cf42f8a486264c7c
Vlan did not set the value of if_hw_tsomax, so when vlan
was stacked on top of a network interface that set if_hw_tsomax,
tcp_output() would see the default value instead of the value
set by the network interface. This patch modifies vlan so that
it sets if_hw_tsomax to the value of the parent interface.

Reviewed by: glebius
MFC after: 2 weeks
sys/net/if_vlan.c