diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-09-13 17:53:45 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-09-13 17:53:45 +0000 |
commit | 7bc165d2961a9b6b9532379180b8525a39c14ef6 (patch) | |
tree | 85d88162eef86830853aba24947aea109894c73e /sys/net/bpf.c | |
parent | f58ea870ea0479d5c53f38454eb1192f2da705e2 (diff) |
There's no point in abstracting ifp->if_output() as long as pf_test()
needs to see lo0 in the output path.
ok claudio@
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r-- | sys/net/bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index a541aaa87ef..bcca3ea28f9 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.126 2015/09/12 20:26:06 mpi Exp $ */ +/* $OpenBSD: bpf.c,v 1.127 2015/09/13 17:53:44 mpi Exp $ */ /* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */ /* @@ -556,7 +556,7 @@ bpfwrite(dev_t dev, struct uio *uio, int ioflag) dst.ss_family = pseudo_AF_HDRCMPLT; s = splsoftnet(); - error = if_output(ifp, m, (struct sockaddr *)&dst, NULL); + error = ifp->if_output(ifp, m, (struct sockaddr *)&dst, NULL); splx(s); /* * The driver frees the mbuf. |