From aebfdc1fec4bde7bb1fc9eece9fa2fd67b78aeb3 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 29 Oct 2020 22:14:34 +0000 Subject: [PATCH] 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 --- sys/netinet/in_pcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 37438dd68c71..46f6d114b8bb 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -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, ¶ms, &inp->inp_snd_tag); + error = ifp->if_snd_tag_alloc(ifp, ¶ms, st); #ifdef INET if (error == 0) {