[SCTP]: Correctly initialize error when parameter validation failed.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Sun, 20 Jan 2008 14:10:46 +0000 (06:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:11 +0000 (15:08 -0800)
When parameter validation fails, there should be error causes that
specify what type of failure we've encountered.  If the causes are not
there, we lacked memory to allocated them.  Thus make that the default
value for the error.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found