diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2017-11-21 14:37:43 +0100 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-11-21 15:36:49 +0000 |
commit | c59a668da538c902bd49e5900e3fbf4ae36f5a4b (patch) | |
tree | b0f2a1ef9bed2321573f75413c0facdc6c87563c /src/vnet/config.c | |
parent | 70d44d347a58caef0a4417bdc587a37b0a638783 (diff) |
stn-plugin: do not assume all punted packets start with L3 header.
Some punt scenarios (notably, involving DNS traffic)
do not have the current_data set to the L3 header -
as a result, chaos ensues. To tackle this, approach
the parsing from the other side, and look at
the hopefully remaining ethernet header
to see whether the packet is IPv4 or IPv6.
Verified the STN'ed TCP traffic continues to work,
and that the STN'ed DNS traffic starts to work as well.
Change-Id: I0aa2ad1df2fb23dd4e54a564714103b19114d636
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vnet/config.c')
0 files changed, 0 insertions, 0 deletions