tcp: remove unneeded code from tcp_stream_alloc_skb()
authorEric Dumazet <edumazet@google.com>
Mon, 25 Oct 2021 22:13:42 +0000 (15:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Oct 2021 13:45:12 +0000 (14:45 +0100)
commitc4322884ed2132beee95a16234035ad7cc991f09
treefea73bdcb45c78a1bc4090467092a119ded086b4
parent8a794df69300cf2f889b4f02ada9c54baa9bca91
tcp: remove unneeded code from tcp_stream_alloc_skb()

Aligning @size argument to 4 bytes is not needed.

The header alignment has nothing to do with @size.

It really depends on skb->head alignment and MAX_TCP_HEADER.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c