sctp: create helper function to enable|disable sackdelay
authorwangweidong <wangweidong1@huawei.com>
Wed, 15 Jan 2014 09:24:01 +0000 (17:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jan 2014 00:47:48 +0000 (16:47 -0800)
commit0ea5e4df7b31bb020df864ff9c77427a5295f0f2
tree4c2e81d22a2ce50b27c4a6a95b901963dd96eba8
parentd76ed22b225c02228c643ae336f76e086fdc32f0
sctp: create helper function to enable|disable sackdelay

add sctp_spp_sackdelay_{enable|disable} helper function for
avoiding code duplication.

Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c