git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NET] CORE: Introducing new memory accounting interface.
[safe/jmp/linux-2.6]
/
net
/
sctp
/
ulpevent.c
diff --git
a/net/sctp/ulpevent.c
b/net/sctp/ulpevent.c
index
3073143
..
047c27d
100644
(file)
--- a/
net/sctp/ulpevent.c
+++ b/
net/sctp/ulpevent.c
@@
-700,7
+700,7
@@
struct sctp_ulpevent *sctp_ulpevent_make_rcvmsg(struct sctp_association *asoc,
if (rx_count >= asoc->base.sk->sk_rcvbuf) {
if ((asoc->base.sk->sk_userlocks & SOCK_RCVBUF_LOCK) ||
-
(!sk_stream_rmem_schedule(asoc->base.sk, chunk->skb
)))
+
(!sk_rmem_schedule(asoc->base.sk, chunk->skb->truesize
)))
goto fail;
}