]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ef525e97fddff2d3c6f6632db12246deb6bc55b
tree9829009c63ccebbf65b4cca63c1eb4e14b8e5fd1
parent600522c4c42ca2f7e75c4a1f335fbc5566cc45b2
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