commit | f052f20a825a80c4662dafd3899dddafd4c8f036 | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Sun Apr 24 23:21:22 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 26 15:18:48 2016 -0400 |
tree | c9bb524f2ab289bf5411b844e3e1406d6c2e0e96 | |
parent | e96c37f185529d1db4ebc021e4f56822d43945bb [diff] |
sctp: sctp_diag should fill RMEM_ALLOC with asoc->rmem_alloc when rcvbuf_policy is set For sctp assoc, when rcvbuf_policy is set, it will has it's own rmem_alloc, when we dump asoc info in sctp_diag, we should use that value on RMEM_ALLOC as well, just like WMEM_ALLOC. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>