diff options
author | glebius <glebius@FreeBSD.org> | 2014-11-30 13:24:21 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-11-30 13:24:21 +0000 |
commit | 9cadf1b974cb2cde48370352a579e9c6694d5b15 (patch) | |
tree | fcd9e335b091a7447c168c321acc47998ebd38d2 /sys/ofed/drivers | |
parent | 06bb6e263e72cf52b6182e26dc5b47a9351e8094 (diff) | |
download | FreeBSD-src-9cadf1b974cb2cde48370352a579e9c6694d5b15.zip FreeBSD-src-9cadf1b974cb2cde48370352a579e9c6694d5b15.tar.gz |
Merge from projects/sendfile: extend protocols API to support
sending not ready data:
o Add new flag to pru_send() flags - PRUS_NOTREADY.
o Add new protocol method pru_ready().
Sponsored by: Nginx, Inc.
Sponsored by: Netflix
Diffstat (limited to 'sys/ofed/drivers')
-rw-r--r-- | sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c index a6eba64..2e91d85 100644 --- a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c +++ b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c @@ -889,7 +889,7 @@ sdp_append(struct sdp_sock *ssk, struct sockbuf *sb, struct mbuf *mb, int cnt) m_adj(mb, SDP_HEAD_SIZE); n->m_pkthdr.len += mb->m_pkthdr.len; n->m_flags |= mb->m_flags & (M_PUSH | M_URG); - m_demote(mb, 1); + m_demote(mb, 1, 0); sbcompress(sb, mb, sb->sb_mbtail); return; } |