sync with OpenBSD -current

This commit is contained in:
purplerain 2023-11-13 23:00:18 +00:00
parent 62d64fa864
commit 4574748555
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
13806 changed files with 1142078 additions and 937084 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: if_stge.c,v 1.72 2022/03/11 18:00:48 mpi Exp $ */
/* $OpenBSD: if_stge.c,v 1.73 2023/11/10 15:51:24 bluhm Exp $ */
/* $NetBSD: if_stge.c,v 1.27 2005/05/16 21:35:32 bouyer Exp $ */
/*-
@ -361,7 +361,7 @@ stge_attach(struct device *parent, struct device *self, void *aux)
#ifdef STGE_JUMBO
ifp->if_hardmtu = STGE_JUMBO_MTU;
#endif
ifq_set_maxlen(&ifp->if_snd, STGE_NTXDESC - 1);
ifq_init_maxlen(&ifp->if_snd, STGE_NTXDESC - 1);
ifp->if_capabilities = IFCAP_VLAN_MTU;