cvs commit: src/sys/netinet6 icmp6.c

Sam Leffler sam at errno.com
Fri Oct 31 08:28:39 PST 2003


On Friday 31 October 2003 08:21 am, Hajimu UMEMOTO wrote:
> ume         2003/10/31 08:21:26 PST
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/netinet6         icmp6.c
>   Log:
>   (icmp6_rip6_input) if the received data is small enough but in an
>   mbuf cluster, copy the data to a separate mbuf that do not use a
>   cluster.  this change will reduce the possiblity of packet loss
>   in the socket layer.

This may be the first of several similar commits to do this throughout IPv6, 
but I think optimizations like this really belong in the network drivers; or 
at least at that level.  OTOH I'm not sure doing this is worthwhile at all.  
I'd be interested in real experiences to back this up.  FWIW I noticed that 
some Linux network drivers do this.

	Sam



More information about the cvs-src mailing list