sctp: fix the return value of getting the sctp partial delivery point
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 14 Dec 2010 16:10:41 +0000 (16:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2010 22:48:44 +0000 (14:48 -0800)
commit7d743b7e952261f4d9ee091100b6403f3ce8a2af
tree9829009c63ccebbf65b4cca63c1eb4e14b8e5fd1
parent0b7967503dc97864f283a3a06fbe23e041876138
sctp: fix the return value of getting the sctp partial delivery point

Get the sctp partial delivery point using SCTP_PARTIAL_DELIVERY_POINT
socket option should return 0 if success, not -ENOTSUPP.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c