diff options
author | David Howells <dhowells@redhat.com> | 2019-08-19 09:25:37 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-08-27 10:03:26 +0100 |
commit | b311e68420aa52098591988d0d6868b0b7463c0f (patch) | |
tree | b386071d7b4cf5866ceb9736349a1404ff4ac5e5 /net/rxrpc/ar-internal.h | |
parent | a641fd00d05a5ae38c5a3d50d4da10283b15287b (diff) | |
download | lwn-b311e68420aa52098591988d0d6868b0b7463c0f.tar.gz lwn-b311e68420aa52098591988d0d6868b0b7463c0f.zip |
rxrpc: Add a private skb flag to indicate transmission-phase skbs
Add a flag in the private data on an skbuff to indicate that this is a
transmission-phase buffer rather than a receive-phase buffer.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/ar-internal.h')
-rw-r--r-- | net/rxrpc/ar-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h index 20d7907a5bc6..63d3a91ce5e9 100644 --- a/net/rxrpc/ar-internal.h +++ b/net/rxrpc/ar-internal.h @@ -188,6 +188,7 @@ struct rxrpc_skb_priv { u8 nr_subpackets; /* Number of subpackets */ u8 rx_flags; /* Received packet flags */ #define RXRPC_SKB_INCL_LAST 0x01 /* - Includes last packet */ +#define RXRPC_SKB_TX_BUFFER 0x02 /* - Is transmit buffer */ union { int remain; /* amount of space remaining for next write */ |