diff options
author | sam <sam@FreeBSD.org> | 2006-06-02 23:14:40 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-06-02 23:14:40 +0000 |
commit | c35d17efe0d0b7b4ab064b041e890a7e341ab5ed (patch) | |
tree | 24469a0066d7f45b8c379dc7901a2dbfe0aab18d /sys/dev/gem/if_gem.c | |
parent | f018362c4adf765452a6cca57e43fb6f2f58b2ba (diff) | |
download | FreeBSD-src-c35d17efe0d0b7b4ab064b041e890a7e341ab5ed.zip FreeBSD-src-c35d17efe0d0b7b4ab064b041e890a7e341ab5ed.tar.gz |
add missed calls to bpf_peers_present
Diffstat (limited to 'sys/dev/gem/if_gem.c')
-rw-r--r-- | sys/dev/gem/if_gem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/gem/if_gem.c b/sys/dev/gem/if_gem.c index 4ffd71e..3efe0ed 100644 --- a/sys/dev/gem/if_gem.c +++ b/sys/dev/gem/if_gem.c @@ -1205,8 +1205,7 @@ gem_start_locked(ifp) bus_space_write_4(sc->sc_bustag, sc->sc_h, GEM_TX_KICK, sc->sc_txnext); - if (ifp->if_bpf != NULL) - bpf_mtap(ifp->if_bpf, m0); + BPF_MTAP(ifp, m0); } while (1); if (txmfail == -1 || sc->sc_txfree == 0) { |