Fix ppp_deflate issues with recent zlib_inflate changes
authorRichard Purdie <[email protected]>
Sun, 6 May 2007 21:51:56 +0000 (14:51 -0700)
committerLinus Torvalds <[email protected]>
Mon, 7 May 2007 19:13:04 +0000 (12:13 -0700)
commitf0ac675806441d17303707856f4d23bd27092014
tree558cabe05bbff24241d54ef92619259d10b01dd9
parentc24228daa1e489721812815838220de607260df9
Fix ppp_deflate issues with recent zlib_inflate changes

The last zlib_inflate update broke certain corner cases for ppp_deflate
decompression handling.  This patch fixes some logic to make things work
properly again.  Users other than ppp_deflate (the only Z_PACKET_FLUSH
user) should be unaffected.

Fixes bug 8405 (confirmed by Stefan)

Signed-off-by: Richard Purdie <[email protected]>
Cc: Stefan Wenk <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/zlib_inflate/inflate.c