Commit Graph
3 Commits
Author SHA1 Message Date
Florian Westphal e2a4800e75 ppp: deflate: never return len larger than output buffer
When we've run out of space in the output buffer to store more data, we
will call zlib_deflate with a NULL output buffer until we've consumed
remaining input.

When this happens, olen contains the size the output buffer would have
consumed iff we'd have had enough room.

This can later cause skb_over_panic when ppp_generic skb_put()s
the returned length.

Reported-by: Iain Douglas <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2015-01-29 14:50:01 -08:00
Paul Mackerras 784db3f062 ppp: Change copyright notices from ANU to me
This changes the copyright notices on the PPP code that I developed
in the late 1990s from being copyright The Australian National
University to copyright Paul Mackerras.  I can do this as I have an
acknowledgement in writing from the Head of the Computer Science
Department at ANU (where I worked then) that ANU does not claim any
intellectual property in this code.

While I'm at it, change the copyright notice from BSD-style to
GNU GPL like the rest of the kernel.

Signed-off-by: Paul Mackerras <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2012-03-04 20:41:38 -05:00
Jeff Kirsher 224cf5ad14 ppp: Move the PPP drivers
Move the PPP drivers into drivers/net/ppp/ and make the
necessary Kconfig and Makefile changes.

CC: Paul Mackerras <[email protected]>
CC: Frank Cusack <[email protected]>
CC: Michal Ostrowski <[email protected]>
CC: Michal Ostrowski <[email protected]>
CC: Dmitry Kozlov <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
2011-08-27 00:58:26 -07:00