Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2001 08:13:35 -0800 (PST)
From:      Joerg Wunsch <joerg@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net if_spppsubr.c
Message-ID:  <200112301613.fBUGDZY58062@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
joerg       2001/12/30 08:13:35 PST

  Modified files:
    sys/net              if_spppsubr.c 
  Log:
  Fix the handling of VJ uncompression.  Unfortunately, tcp_uncompress()
  makes the implied assumption there were another 128 bytes of space in
  front of the packet handed off to it... which is not the case for
  sppp.  This could easily end up in corrupting random memory.
  
  This fix is about the same as revs 1.6, 1.8, and 1.9 from our
  i4b_ispppsubr.c.
  
  Also fixed IPCP option negotiation to zero out the options when
  starting IPCP.  Otherwise, if negotiation parameters change between
  various IPCP startups, it could happen that old options would still be
  requested (this happened if VJ was turned off, and ended up in half
  off the link still negotiating for VJ compression).
  
  IMHO, the base system's sppp is now feature-wise up to date with the
  one in the i4b part of the tree, so the latter can be disabled.
  
  MFC after:      1 month
  
  Revision  Changes    Path
  1.83      +39 -14    src/sys/net/if_spppsubr.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112301613.fBUGDZY58062>