aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-03-01 19:37:40 +0000
committerPaolo Abeni <[email protected]>2024-03-05 13:30:11 +0100
commit8f78010b701d8fdc290063f29fefc09aaaca4085 (patch)
treede9c27dd1b0accf927ed319cde55e2c130fe0060 /lib/crypto/mpi/mpi-add.c
parentc7583e9f768eeb82f2531c8372584ba89cfade8b (diff)
tcp: gro: micro optimizations in tcp[4]_gro_complete()
In tcp_gro_complete() : Moving the skb->inner_transport_header setting allows the compiler to reuse the previously loaded value of skb->transport_header. Caching skb_shinfo() avoids duplications as well. In tcp4_gro_complete(), doing a single change on skb_shinfo(skb)->gso_type also generates better code. Signed-off-by: Eric Dumazet <[email protected]> Acked-by: Paolo Abeni <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions