summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/pci/apb.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2001-12-30 16:13:35 +0000
committerjoerg <joerg@FreeBSD.org>2001-12-30 16:13:35 +0000
commitdbbd8a474415fcb0219f39af431a6d9c6a2558f2 (patch)
tree66a14fdbbaf64ea2f34d423e74334e5bd7f9801a /sys/sparc64/pci/apb.c
parent49006afe46de6cc5c1364f1642b8b223fa8656ec (diff)
downloadFreeBSD-src-dbbd8a474415fcb0219f39af431a6d9c6a2558f2.zip
FreeBSD-src-dbbd8a474415fcb0219f39af431a6d9c6a2558f2.tar.gz
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
Diffstat (limited to 'sys/sparc64/pci/apb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud