aboutsummaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_ipcomp.c
AgeCommit message (Collapse)AuthorFilesLines
2008-07-25net: convert BUG_TRAP to generic WARN_ONIlpo Järvinen1-2/+1
Removes legacy reinvent-the-wheel type thing. The generic machinery integrates much better to automated debugging aids such as kerneloops.org (and others), and is unambiguous due to better naming. Non-intuively BUG_TRAP() is actually equal to WARN_ON() rather than BUG_ON() though some might actually be promoted to BUG_ON() but I left that to future. I could make at least one BUILD_BUG_ON conversion. Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2008-07-25ipsec: ipcomp - Decompress into frags if necessaryHerbert Xu1-6/+42
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2008-07-25ipsec: ipcomp - Merge IPComp implementationsHerbert Xu1-0/+349
This patch merges the IPv4/IPv6 IPComp implementations since most of the code is identical. As a result future enhancements will no longer need to be duplicated. Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>