aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2016-07-28 10:17:31 +0200
committerRaimo Niskanen <[email protected]>2016-07-28 10:17:31 +0200
commitb478147f81ccab9194973d40806ec12426f306a1 (patch)
tree46e70da6e26054e366573457478c69ad100813c1
parent2580e4f9e59baf4205f550f55392391668b441cd (diff)
downloadotp-b478147f81ccab9194973d40806ec12426f306a1.tar.gz
otp-b478147f81ccab9194973d40806ec12426f306a1.tar.bz2
otp-b478147f81ccab9194973d40806ec12426f306a1.zip
Fix SCTP send stats in inet_drv
-rw-r--r--erts/emulator/drivers/common/inet_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/drivers/common/inet_drv.c b/erts/emulator/drivers/common/inet_drv.c
index 5ce0e1de9e..254d3baeb1 100644
--- a/erts/emulator/drivers/common/inet_drv.c
+++ b/erts/emulator/drivers/common/inet_drv.c
@@ -11407,6 +11407,7 @@ static void packet_inet_command(ErlDrvData e, char* buf, ErlDrvSizeT len)
VALGRIND_MAKE_MEM_DEFINED(mhdr.msg_control, mhdr.msg_controllen); /*suppress "uninitialised bytes"*/
mhdr.msg_flags = 0; /* Not used with "sendmsg" */
+ inet_output_count(desc, data_len);
/* Now do the actual sending. NB: "flags" in "sendmsg" itself are NOT
used: */
code = sock_sendmsg(desc->s, &mhdr, 0);