diff options
author | Willem de Bruijn <willemb@google.com> | 2016-02-03 18:02:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-09 06:43:50 -0500 |
commit | 8d39b4a6b83c141acaf0b5e8f90fd5e67721ff90 (patch) | |
tree | a4ba273deffe97e83056747c0d0840805e04a4a4 /CREDITS | |
parent | 58d19b19cd99b438541eea4cdbf5c171900b25e5 (diff) | |
download | op-kernel-dev-8d39b4a6b83c141acaf0b5e8f90fd5e67721ff90.zip op-kernel-dev-8d39b4a6b83c141acaf0b5e8f90fd5e67721ff90.tar.gz |
packet: parse tpacket header before skb alloc
GSO packet headers must be stored in the linear skb segment.
Move tpacket header parsing before sock_alloc_send_skb. The GSO
follow-on patch will later increase the skb linear argument to
sock_alloc_send_skb if needed for large packets.
The header parsing code does not require an allocated skb, so is
safe to move. Later pass to tpacket_fill_skb the computed data
start and length.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions