summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-07-28 07:31:30 +0000
committerrwatson <rwatson@FreeBSD.org>2007-07-28 07:31:30 +0000
commita62dbe240a72505ede1aa44338d48387b1f57dff (patch)
tree53267e076ee890eac40b73468ae3007d9979e4d7 /sys/net/bpf.c
parentdff1b6c68a8d4d1fc50a981e37d4dbf87b06a37a (diff)
downloadFreeBSD-src-a62dbe240a72505ede1aa44338d48387b1f57dff.zip
FreeBSD-src-a62dbe240a72505ede1aa44338d48387b1f57dff.tar.gz
Replace references to NET_CALLOUT_MPSAFE with CALLOUT_MPSAFE, and remove
definition of NET_CALLOUT_MPSAFE, which is no longer required now that debug.mpsafenet has been removed. The once over: bz Approved by: re (kensmith)
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r--sys/net/bpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 0443d13..08ec25a 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -405,7 +405,7 @@ bpfopen(struct cdev *dev, int flags, int fmt, struct thread *td)
mac_create_bpfdesc(td->td_ucred, d);
#endif
mtx_init(&d->bd_mtx, devtoname(dev), "bpf cdev lock", MTX_DEF);
- callout_init(&d->bd_callout, NET_CALLOUT_MPSAFE);
+ callout_init(&d->bd_callout, CALLOUT_MPSAFE);
knlist_init(&d->bd_sel.si_note, &d->bd_mtx, NULL, NULL, NULL);
return (0);
OpenPOWER on IntegriCloud