git: Network - redispatch was not properly adjust ip->ip_len

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 23 09:30:48 PDT 2009


commit a40c002386290d36f60aeed95e3f98d21a346c0b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Aug 23 03:17:27 2009 -0700

    Network - redispatch was not properly adjust ip->ip_len
    
    * ip->ip_len is adjusted down by hlen.  If a redispatch occurs it must
      be corrected back up in order to do the ip_mport() function.  Otherwise
      the function may fail in its length check code.

Summary of changes:
 sys/netinet/ip_input.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a40c002386290d36f60aeed95e3f98d21a346c0b


-- 
DragonFly BSD source repository





More information about the Commits mailing list