[SCTP]: Tie ADD-IP and AUTH functionality as required by spec.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 17 Sep 2007 02:35:39 +0000 (19:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:51:33 +0000 (16:51 -0700)
commit6b2f9cb64db2d2460da17900bf54266030cc24f1
tree1aa95cba41e7dc9071fe1773a567822b60d71f35
parent65b07e5d0d09c77e98050b5f0146ead29e5add32
[SCTP]: Tie ADD-IP and AUTH functionality as required by spec.

ADD-IP spec requires AUTH. It is, in fact, dangerous without AUTH.
So, disable ADD-IP functionality if the peer claims to support
ADD-IP, but not AUTH.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/sm_make_chunk.c