unused in_cksum_update() ?

Gleb Smirnoff glebius at FreeBSD.org
Fri Jan 10 10:31:57 UTC 2014


On Thu, Jan 09, 2014 at 08:21:14PM +0100, Luigi Rizzo wrote:
L> a lot of arch-specific headers (sys/${ARCH}/include/in_cksum.h)
L> have a lengthy definition for
L> 
L> 	in_cksum_update(struct ip *ip)
L> 
L> which seems completely unused in our source tree.
L> Time to remove it perhaps ?
L> 
L> grep cannot find any use at least since stable/8

I'd prefer not to hurry with its removal. Might be that pf will use it.
Since it lives in a header file, it doesn't add a single bit to kernel
size.

-- 
Totus tuus, Glebius.


More information about the freebsd-current mailing list