rxrpc: Use the tx-phase skb flag to simplify tracing
Use the previously-added transmit-phase skbuff private flag to simplify the socket buffer tracing a bit. Which phase the skbuff comes from can now be divined from the skb rather than having to be guessed from the call state. We can also reduce the number of rxrpc_skb_trace values by eliminating the difference between Tx and Rx in the symbols. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
@@ -185,6 +185,7 @@ struct rxrpc_host_header {
|
||||
* - max 48 bytes (struct sk_buff::cb)
|
||||
*/
|
||||
struct rxrpc_skb_priv {
|
||||
atomic_t nr_ring_pins; /* Number of rxtx ring pins */
|
||||
u8 nr_subpackets; /* Number of subpackets */
|
||||
u8 rx_flags; /* Received packet flags */
|
||||
#define RXRPC_SKB_INCL_LAST 0x01 /* - Includes last packet */
|
||||
|
Reference in New Issue
Block a user