diff options
author | bz <bz@FreeBSD.org> | 2010-10-16 18:42:09 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2010-10-16 18:42:09 +0000 |
commit | e7e5079137c3881bd359a41ee2809794189db487 (patch) | |
tree | 76eff86417a70191a47a410eb3ecd852b49db437 /sys/net/if_llatbl.h | |
parent | f49f5e7badc63571d152296b1b1faf66cb998567 (diff) | |
download | FreeBSD-src-e7e5079137c3881bd359a41ee2809794189db487.zip FreeBSD-src-e7e5079137c3881bd359a41ee2809794189db487.tar.gz |
lltable_drain() has never been used so far, thus #if 0 it for now.
While touching it add the missing locking to the now disabled code
for the time when we'll resurrect it.
MFC after: 3 days
Diffstat (limited to 'sys/net/if_llatbl.h')
-rw-r--r-- | sys/net/if_llatbl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_llatbl.h b/sys/net/if_llatbl.h index debb416..a4d02ab 100644 --- a/sys/net/if_llatbl.h +++ b/sys/net/if_llatbl.h @@ -186,7 +186,9 @@ struct lltable *lltable_init(struct ifnet *, int); void lltable_free(struct lltable *); void lltable_prefix_free(int, struct sockaddr *, struct sockaddr *); +#if 0 void lltable_drain(int); +#endif int lltable_sysctl_dumparp(int, struct sysctl_req *); void llentry_free(struct llentry *); |