sctp: Correctly track if AUTH has been bundled.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 4 Sep 2009 22:21:00 +0000 (18:21 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 4 Sep 2009 22:21:00 +0000 (18:21 -0400)
commit4007cc88ceec8892b74792f0a10983b140beae72
tree6a1af00a4ca24155255c031fdcd05b7d6ead59ab
parentd521c08f4c16d27f193718da778503a6472501da
sctp: Correctly track if AUTH has been bundled.

We currently track if AUTH has been bundled using the 'auth'
pointer to the chunk.  However, AUTH is disallowed after DATA
is already in the packet, so we need to instead use the
'has_auth' field.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/output.c