Kill in_localaddr(), one less usage of the global list of IPv4 addresses.
authormpi <mpi@openbsd.org>
Fri, 25 Apr 2014 09:44:38 +0000 (09:44 +0000)
committermpi <mpi@openbsd.org>
Fri, 25 Apr 2014 09:44:38 +0000 (09:44 +0000)
commit3fcbae1f90c8af35258f9a4c121908755fcdf662
tree6a2ba796713ed998c3beea728346da10c66c7830
parent49f5879f474dbc9589f8234822c81529730ab9bf
Kill in_localaddr(), one less usage of the global list of IPv4 addresses.

This function is used only once in our tree to optimize the size of the
MSS if the forward address correspond to a host on one of our subnets,
but only if ip.mutdisc is disable, which is not the default!

While here get rid of the "#ifdef RTV_MTU", it is here.

ok henning@, mikeb@, bluhm@
sys/netinet/in.c
sys/netinet/in.h
sys/netinet/tcp_input.c