diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-02-18 18:49:44 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-02-18 18:49:44 +0000 |
commit | 00ee68b65f362452ac3e56b134f96c56a839bea7 (patch) | |
tree | 1e1c1f06036c4c425339d53b021757a3de22bb9b /sys/kern/uipc_accf.c | |
parent | 0ec3ae6d23836a444d745b5c0d4c2acf5869eca6 (diff) | |
download | FreeBSD-src-00ee68b65f362452ac3e56b134f96c56a839bea7.zip FreeBSD-src-00ee68b65f362452ac3e56b134f96c56a839bea7.tar.gz |
Minor style tweaks: line wrap comments and lines more consistently.
MFC after: 3 days
Diffstat (limited to 'sys/kern/uipc_accf.c')
-rw-r--r-- | sys/kern/uipc_accf.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/kern/uipc_accf.c b/sys/kern/uipc_accf.c index 9986425..874f75e 100644 --- a/sys/kern/uipc_accf.c +++ b/sys/kern/uipc_accf.c @@ -65,10 +65,9 @@ SYSCTL_INT(_net_inet_accf, OID_AUTO, unloadable, CTLFLAG_RW, &unloadable, 0, "Allow unload of accept filters (not recommended)"); /* - * must be passed a malloc'd structure so we don't explode if the kld - * is unloaded, we leak the struct on deallocation to deal with this, - * but if a filter is loaded with the same name as a leaked one we re-use - * the entry. + * Must be passed a malloc'd structure so we don't explode if the kld is + * unloaded, we leak the struct on deallocation to deal with this, but if a + * filter is loaded with the same name as a leaked one we re-use the entry. */ int accept_filt_add(struct accept_filter *filt) @@ -131,17 +130,18 @@ accept_filt_generic_mod_event(module_t mod, int event, void *data) switch (event) { case MOD_LOAD: - MALLOC(p, struct accept_filter *, sizeof(*p), M_ACCF, M_WAITOK); + MALLOC(p, struct accept_filter *, sizeof(*p), M_ACCF, + M_WAITOK); bcopy(accfp, p, sizeof(*p)); error = accept_filt_add(p); break; case MOD_UNLOAD: /* - * Do not support unloading yet. we don't keep track of refcounts - * and unloading an accept filter callback and then having it called - * is a bad thing. A simple fix would be to track the refcount - * in the struct accept_filter. + * Do not support unloading yet. we don't keep track of + * refcounts and unloading an accept filter callback and then + * having it called is a bad thing. A simple fix would be to + * track the refcount in the struct accept_filter. */ if (unloadable != 0) { error = accept_filt_del(accfp->accf_name); |