diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2008-05-07 13:45:36 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2008-05-07 13:45:36 +0000 |
commit | e29678e8d6012a490a39e3a085fd78310d02ba8d (patch) | |
tree | 57e0988c128762346ac112e665995c90f29a2671 /sys/net/if_atmsubr.c | |
parent | 88f807347c751984afac27fa53bd5a278beba7e8 (diff) |
enable tx mitigation when putting packets on the wire by switching from
calls to ifp->if_start to if_start(). these are the obviously right cases
where we can do that, the less obvious ones may follow as theyre figured
out.
deraadt@ said to go for it
Diffstat (limited to 'sys/net/if_atmsubr.c')
-rw-r--r-- | sys/net/if_atmsubr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c index 0594b071359..c9e9f9e28e1 100644 --- a/sys/net/if_atmsubr.c +++ b/sys/net/if_atmsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_atmsubr.c,v 1.26 2006/03/04 22:40:15 brad Exp $ */ +/* $OpenBSD: if_atmsubr.c,v 1.27 2008/05/07 13:45:35 dlg Exp $ */ /* * @@ -240,8 +240,7 @@ atm_output(ifp, m0, dst, rt0) return (error); } ifp->if_obytes += len; - if ((ifp->if_flags & IFF_OACTIVE) == 0) - (*ifp->if_start)(ifp); + if_start(ifp); splx(s); return (error); |