net: Add a flow_cache_flush_deferred function
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 21 Dec 2011 21:48:08 +0000 (16:48 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Dec 2011 21:48:08 +0000 (16:48 -0500)
flow_cach_flush() might sleep but can be called from
atomic context via the xfrm garbage collector. So add
a flow_cache_flush_deferred() function and use this if
the xfrm garbage colector is invoked from within the
packet path.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found