summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-10-26 00:13:42 +0200
committerDavid S. Miller <davem@davemloft.net>2021-10-26 15:45:12 +0200
commitc4322884ed2132beee95a16234035ad7cc991f09 (patch)
treefea73bdcb45c78a1bc4090467092a119ded086b4 /drivers
parenttcp: use MAX_TCP_HEADER in tcp_stream_alloc_skb (diff)
downloadlinux-c4322884ed2132beee95a16234035ad7cc991f09.tar.xz
linux-c4322884ed2132beee95a16234035ad7cc991f09.zip
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions