ipvs: drop SCTP connections depending on state
authorJulian Anastasov <ja@ssi.bg>
Tue, 18 Jun 2013 07:08:08 +0000 (10:08 +0300)
committerSimon Horman <horms@verge.net.au>
Wed, 26 Jun 2013 09:01:46 +0000 (18:01 +0900)
commitacaac5d8bbedf6bd96f53960780942e1ad90d70e
tree1ca1330aa7ce1c584ccfa92d5fb760cc80ee107a
parent61e7c420b4b2a797ac209106ba743ab6ebe984d8
ipvs: drop SCTP connections depending on state

Drop SCTP connections under load (dropentry context) depending
on the protocol state, just like for TCP: INIT conns are
dropped immediately, established are dropped randomly while
connections in progress or shutdown are skipped.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_conn.c