]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCTP]: Honor flags when setting peer address parameters
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 23 Mar 2007 18:33:12 +0000 (11:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:02 +0000 (22:28 -0700)
commitbdf3092af601ccad765974652ab103162fbe14f4
treea34ac81649e9620b64317994c6fb5091b06fca47
parent1ae4114dce35dd1d32ed847f60b599dbbdfd5829
[SCTP]: Honor flags when setting peer address parameters

Parameters only take effect when a corresponding flag bit is set
and a value is specified. This means we need to check the flags
in addition to checking for non-zero value.

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