Searched hist:b86e218e0d422488e0febb07620fa97ae9713779 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/rxrpc/ |
H A D | output.c | diff b86e218e0d422488e0febb07620fa97ae9713779 Fri Sep 23 09:08:48 CDT 2016 David Howells <dhowells@redhat.com> 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>
|