ipsec: ipcomp - Decompress into frags if necessary
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Jul 2008 09:55:33 +0000 (02:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Jul 2008 09:55:33 +0000 (02:55 -0700)
commit7d7e5a60c62e88cb8782760bb6c4d3bd1577a6c6
treec6bedd62097698466d7dc0b5166e4ed29e1b6ee5
parent6fccab671f2f0a24b799f29a4ec878f62d34656c
ipsec: ipcomp - Decompress into frags if necessary

When decompressing extremely large packets allocating them through
kmalloc is prone to failure.  Therefore it's better to use page
frags instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_ipcomp.c