xfrm: Traffic Flow Confidentiality for IPv6 ESP
authorMartin Willi <martin@strongswan.org>
Wed, 8 Dec 2010 04:37:51 +0000 (04:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Dec 2010 22:43:59 +0000 (14:43 -0800)
commit040253c931e336360453c8d81f76d1b010b2b5e7
treee9fa38b6cd2a12eec1f12f1a89258f3713cfabd7
parentd979e20f2b9f8a50c8d5f889e0b5d78580440d1f
xfrm: Traffic Flow Confidentiality for IPv6 ESP

Add TFC padding to all packets smaller than the boundary configured
on the xfrm state. If the boundary is larger than the PMTU, limit
padding to the PMTU.

Signed-off-by: Martin Willi <martin@strongswan.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/esp6.c