Store the new send tag in the right place.

r350501 added the 'st' parameter, but did not pass it down to
if_snd_tag_alloc().

Reviewed by:	gallatin
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D26997
This commit is contained in:
John Baldwin 2020-10-29 22:14:34 +00:00
parent 62568e886a
commit aebfdc1fec

View File

@ -3333,7 +3333,7 @@ in_pcbattach_txrtlmt(struct inpcb *inp, struct ifnet *ifp,
if (ifp->if_snd_tag_alloc == NULL) {
error = EOPNOTSUPP;
} else {
error = ifp->if_snd_tag_alloc(ifp, &params, &inp->inp_snd_tag);
error = ifp->if_snd_tag_alloc(ifp, &params, st);
#ifdef INET
if (error == 0) {