Files
vpp/test
Andrew Yourtchenko feb77422a3 ip: punt socket - take the tags in Ethernet header into consideration
The punt socket code rewinds the current_data pointer by sizeof (ethernet_header_t),
which is incorrect if the header is tagged - resulting in truncated destination MAC
address. Use ethernet_buffer_header_size() instead, which takes tags into account.

Also add the unittest that verifies the issue and the fix.

Type: fix
Change-Id: I6352a174df144ca1e4230390c126f4b698724ebc
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
2023-04-12 15:26:23 +00:00
..
2022-05-10 18:52:08 +00:00
2022-12-07 10:33:20 +00:00
2022-05-10 18:52:08 +00:00
2022-05-10 18:52:08 +00:00
2022-05-10 18:52:08 +00:00
2022-12-07 10:33:20 +00:00
2023-03-31 06:04:42 +00:00
2022-05-13 08:34:34 +00:00
2022-05-10 18:52:08 +00:00
2023-03-23 08:58:55 +00:00
2022-05-10 18:52:08 +00:00