Commit 185c3e58 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

net: tso: shrink struct tso_t

size field can be an int, no need for size_t

Removes a 32bit hole on 64bit kernels.

And align fields for better readability.
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9c77b803
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
struct tso_t { struct tso_t {
int next_frag_idx; int next_frag_idx;
int size;
void *data; void *data;
size_t size;
u16 ip_id; u16 ip_id;
bool ipv6; bool ipv6;
u32 tcp_seq; u32 tcp_seq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment