diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-03-10 19:31:21 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2021-03-22 17:34:31 +0800 |
commit | ef763586c943815eb0836c54c207ce8572e176a7 (patch) | |
tree | e2a40494d3b661819f91b63e92787728a1ce4198 /backends | |
parent | 6f10f77dcdbc151217d19229d9aeeb93c9c1c408 (diff) |
net/eth: Check iovec has enough data earlier
We want to check fields from ip6_ext_hdr_routing structure
and if correct read the full in6_address. Let's directly check
if our iovec contains enough data for everything, else return
early.
Suggested-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Miroslav Rezanina <mrezanin@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions