commit | a714b420807d09d9c073bc9fc608235cd6dcb435 | [log] [tgz] |
---|---|---|
author | Kieran Tyrrell <kieran@sienda.com> | Mon Oct 02 18:13:34 2023 +0100 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Tue Oct 03 15:10:57 2023 +0100 |
tree | ac205c02df05335198932fcb8ce55e396e5306fc | |
parent | d68db1ecfa512bc416bfa906d74f441cba2ab8fb [diff] |
net: ip: fix promiscuous mode altering packets Always clone net_pkt to pass to promiscuous queue. Previously, net_pkt was passed to L2 before conditionally cloning. But L2 would in some cases strip ethernet headers, so cloned net_pkt received through promiscuous interface would be missing headers. Signed-off-by: Kieran Tyrrell <kieran@sienda.com>