drivers/net/ppp_deflate.c
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 4 Mar 2002 13:20:25 +0000 (13:20 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 4 Mar 2002 13:20:25 +0000 (13:20 +0000)
commitecf72cc205daa05b1e130d9f9a92221facccc3e1
tree5930bd81fc9bdda385675962c946eb73ae8b93a3
parentc39e9205e9c097cfa94117a2e452957d2ce03c9e
drivers/net/ppp_deflate.c
    Use vmalloc for ppp_deflate workspace. It's 400KiB, and kmalloc strangely
    doesn't seem to work very well for that :)

    Use schedule_task to do a delayed cleanup, because the z_comp_free routine
    is called with spinlocks held, hence we can't just call vfree().

    Fix double MOD_DEC_USE_COUNT when allocation fails, for both compression
    and decompression workspaces.

    Change licence text to one that insmod likes.
drivers/net/ppp_deflate.c