Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] Make flow cache name space aware
@ 2014-01-13  7:49 Fan Du
  2014-01-13  7:49 ` [PATCH net-next 1/4] flowcache: Namespacify flowcache global parameters with xfrm Fan Du
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Fan Du @ 2014-01-13  7:49 UTC (permalink / raw)
  To: steffen.klassert; +Cc: davem, netdev

Hi,

This patch set aims to make flow cache operating in a per net style
when inserting flow cache entry or flush flow cache. The reason to
do so is not much compelling but reasonable, which is flushing flow
cache in original implementation has global effective, the collateral
damage is netns with only a few flow cache entries has gone.

So this patch make flow cache running in a per net scope. Operation
from different netns won't interfere with each other. And the flushing
operation is worthwhile for the netns which supposed to be.

Fan Du (4):
  flowcache: Namespacify flowcache global parameters with xfrm
  flowcache: Make flowcache entry inserting/flushing in per-net style
  flowcache: fixup flow cache part in xfrm policy
  flowcache: Bring net/core/flow.c under IPsec maintain scope

 MAINTAINERS              |    1 +
 include/net/flow.h       |    5 +-
 include/net/netns/xfrm.h |   11 ++++
 net/core/flow.c          |  127 +++++++++++++++++++++-------------------------
 net/xfrm/xfrm_policy.c   |    7 +--
 5 files changed, 76 insertions(+), 75 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-13 19:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-13  7:49 [PATCH net-next 0/4] Make flow cache name space aware Fan Du
2014-01-13  7:49 ` [PATCH net-next 1/4] flowcache: Namespacify flowcache global parameters with xfrm Fan Du
2014-01-13  7:49 ` [PATCH net-next 2/4] flowcache: Make flowcache entry inserting/flushing in per-net style Fan Du
2014-01-13  7:49 ` [PATCH net-next 3/4] flowcache: Fixup flow cache part in xfrm policy Fan Du
2014-01-13 19:42   ` Cong Wang
2014-01-13  7:49 ` [PATCH net-next 4/4] flowcache: Bring net/core/flow.c under IPsec maintain scope Fan Du

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox