summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/misc.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-09-23 15:08:48 +0100
committerDavid Howells <dhowells@redhat.com>2016-09-23 15:49:19 +0100
commitb86e218e0d422488e0febb07620fa97ae9713779 (patch)
tree63a7f035d1a922a377754a6ea9781ac748226c9a /net/rxrpc/misc.c
parent70790dbe3f6651fb66ad38da0a1e24368778bc16 (diff)
downloadlinux-b86e218e0d422488e0febb07620fa97ae9713779.tar.gz
linux-b86e218e0d422488e0febb07620fa97ae9713779.tar.bz2
linux-b86e218e0d422488e0febb07620fa97ae9713779.zip
rxrpc: Don't call the tx_ack tracepoint if don't generate an ACK
rxrpc_send_call_packet() is invoking the tx_ack tracepoint before it checks whether there's an ACK to transmit (another thread may jump in and transmit it). Fix this by only invoking the tracepoint if we get a valid ACK to transmit. Further, only allocate a serial number if we're going to actually transmit something. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/misc.c')
0 files changed, 0 insertions, 0 deletions