Add IFF_NEEDSGIANT to kernel PPP support. I have no idea why this wasn't

here, but it should have been.

MFC after:	3 days
This commit is contained in:
Robert Watson 2006-03-30 08:18:27 +00:00
parent 74f7258fb7
commit a260bd4131

View File

@ -220,7 +220,7 @@ ppp_clone_create(struct if_clone *ifc, int unit)
ifp->if_softc = sc;
if_initname(ifp, ifc->ifc_name, unit);
ifp->if_mtu = PPP_MTU;
ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST;
ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST | IFF_NEEDSGIANT;
ifp->if_hdrlen = PPP_HDRLEN;
ifp->if_ioctl = pppsioctl;
ifp->if_output = pppoutput;