]> err.no Git - linux-2.6/commit
[NETFILTER]: nf_conntrack_sctp: don't take sctp_lock once per chunk
authorPatrick McHardy <kaber@trash.net>
Tue, 15 Jan 2008 07:47:25 +0000 (23:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:37 +0000 (15:02 -0800)
commit4a64830af0fd4dbec908cfbab117def5086acd4a
treefe14178c897058761d20fa47850452aaef9bb8c5
parentefe9f68afeaf2ce12636990a8c811fb1cc23b12b
[NETFILTER]: nf_conntrack_sctp: don't take sctp_lock once per chunk

Don't take and release the lock once per SCTP chunk, simply hold it
the entire time while iterating through the chunks.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_proto_sctp.c