Lagg did not set the value of if_hw_tsomax, so when lagg
authorrmacklem <rmacklem@FreeBSD.org>
Mon, 14 Apr 2014 20:34:48 +0000 (20:34 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Mon, 14 Apr 2014 20:34:48 +0000 (20:34 +0000)
commitff97df6be22e57bf2e09acf8efe0fc99e289ad3c
tree825bef0112d2e6ce29038e638b990fff1d518f1f
parent5906c6773b959dc0603b2a0ecf5744a8c6dcf3d5
Lagg did not set the value of if_hw_tsomax, so when lagg
was stacked on top of network interfaces that set if_hw_tsomax,
tcp_output() would see the default value instead of the value
set by the network interface(s). This patch modifies lagg so that
it sets if_hw_tsomax to the minimum of the value(s) for the
underlying network interfaces.

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