]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 343620: Don't set IFCAP_TXRTLMT during lagg_clone_create().
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 8 Mar 2019 19:07:41 +0000 (19:07 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 8 Mar 2019 19:07:41 +0000 (19:07 +0000)
commitbf0a8608c8096e8e6942aa917be6044471dd9d17
treef4354920d80203be051f10da724602cb4cbcf54d
parent4a95db6c5dd654d2b904ca63e0e9bf685b08ed13
MFC 343620: Don't set IFCAP_TXRTLMT during lagg_clone_create().

lagg_capabilities() will set the capability once interfaces supporting
the feature are added to the lagg.  Setting it on a lagg without any
interfaces is pointless as the if_snd_tag_alloc call will always fail
in that case.
sys/net/if_lagg.c