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

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
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -8,8 +8,8 @@

struct tso_t {
	int	next_frag_idx;
	int	size;
	void	*data;
	size_t size;
	u16	ip_id;
	bool	ipv6;
	u32	tcp_seq;