Skip to content
Snippets Groups Projects
Commit 2f0fa232 authored by Akihiko Odaki's avatar Akihiko Odaki Committed by Jason Wang
Browse files

net/net_rx_pkt: Use iovec for net_rx_pkt_set_protocols()


igb does not properly ensure the buffer passed to
net_rx_pkt_set_protocols() is contiguous for the entire L2/L3/L4 header.
Allow it to pass scattered data to net_rx_pkt_set_protocols().

Fixes: 3a977dee ("Intrdocue igb device emulation")
Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: default avatarSriram Yagnaraman <sriram.yagnaraman@est.tech>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent f0b1df5c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment