]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/sctp/sm_statefuns.c
[SCTP]: Cleanup nomem handling in the state functions.
authorVladislav Yasevich <vladislav.yasevich@hp.com>
Tue, 22 Aug 2006 07:19:51 +0000 (00:19 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:55:17 +0000 (14:55 -0700)
commitdf7deeb5402087ea0387173aaf067d37a264a8f0
tree3001b220fe38b48a0bf2d7a4f4590fd2c8ed87e3
parentac0b04627269ff16c3c7ab854a65fe6780c6e3e5
[SCTP]: Cleanup nomem handling in the state functions.

This patch cleans up the "nomem" conditions that may occur during the
processing by the state machine functions. In most cases we delay adding
side-effect commands until all memory allocations are done.

Signed-off-by: Vladislav Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_statefuns.c