diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2017-11-21 13:23:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-24 01:33:34 +0900 |
commit | 4e1061f4a2bba1669c7297455c73ddafbebf2b12 (patch) | |
tree | 27cadda81885b9034a7f52bd4407d9a4ca106962 /arch/frv | |
parent | bbfcd77631573ac4a9f57eb6169e04256a111bc1 (diff) |
net/smc: use sk_rcvbuf as start for rmb creation
Commit 3e034725c0d8 ("net/smc: common functions for RMBs and send buffers")
merged handling of SMC receive and send buffers. It introduced sk_buf_size
as merged start value for size determination. But since sk_buf_size is not
used at all, sk_sndbuf is erroneously used as start for rmb creation.
This patch makes sure, sk_buf_size is really used as intended, and
sk_rcvbuf is used as start value for rmb creation.
Fixes: 3e034725c0d8 ("net/smc: common functions for RMBs and send buffers")
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reviewed-by: Hans Wippel <hwippel@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/frv')
0 files changed, 0 insertions, 0 deletions