]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: add support for busy polling to sctp protocol
authorNeil Horman <nhorman@tuxdriver.com>
Thu, 17 Apr 2014 19:26:51 +0000 (15:26 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Apr 2014 22:18:55 +0000 (18:18 -0400)
commit08e8e4f1651de6862adead77509db1c9ed43333a
tree3e4d11d4a9452569be5e4a94a1d1cc8e90050408
parent12b30acd1c915816c57e98e667b20ee410711091
sctp: add support for busy polling to sctp protocol

The busy polling socket option adds support for sockets to busy wait on data
arriving on the napi queue from which they have most recently received a frame.
Currently only tcp and udp support this feature, but theres no reason sctp can't
do so as well.  Add it in so appliations can take advantage of it

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: Vlad Yasevich <vyasevich@gmail.com>
CC: "David S. Miller" <davem@davemloft.net>
CC: Daniel Borkmann <dborkman@redhat.com>
CC: netdev@vger.kernel.org
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c
net/sctp/ulpqueue.c