]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sctp: do not enable peer features if we can't do them.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 18 Sep 2008 23:27:38 +0000 (16:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Sep 2008 23:27:38 +0000 (16:27 -0700)
commit0ef46e285c062cbe35d60c0adbff96f530d31c86
treec2fc631d5760f097bab6b5173166c872639580ff
parenta3028b8ed1e1e9930bfa70ce4555fb7f9fad3dcc
sctp: do not enable peer features if we can't do them.

Do not enable peer features like addip and auth, if they
are administratively disabled localy.  If the peer resports
that he supports something that we don't, neither end can
use it so enabling it is pointless.  This solves a problem
when talking to a peer that has auth and addip enabled while
we do not.  Found by Andrei Pelinescu-Onciul <andrei@iptel.org>.

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