OSDN Git Service

xfrm: Traffic Flow Confidentiality for IPv4 ESP
authorMartin Willi <martin@strongswan.org>
Wed, 8 Dec 2010 04:37:50 +0000 (04:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Dec 2010 22:43:59 +0000 (14:43 -0800)
commitd979e20f2b9f8a50c8d5f889e0b5d78580440d1f
treefed3b0c657cfb62d0e2f3df25fbc4cad058059b2
parent35d2856b4693e8de5d616307b56cef296b839157
xfrm: Traffic Flow Confidentiality for IPv4 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/ipv4/esp4.c