diff options
author | Paolo Abeni <pabeni@redhat.com> | 2018-09-13 16:27:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-16 15:27:44 -0700 |
commit | eb63f2964dbe36f26deac77d3016791675821ded (patch) | |
tree | 616d95391b21e18b429258bf0a937e00c59e435f /virt | |
parent | 2b5a921740a55c00223a797d075b9c77c42cb171 (diff) | |
download | linux-eb63f2964dbe36f26deac77d3016791675821ded.tar.bz2 |
udp6: add missing checks on edumux packet processing
Currently the UDPv6 early demux rx code path lacks some mandatory
checks, already implemented into the normal RX code path - namely
the checksum conversion and no_check6_rx check.
Similar to the previous commit, we move the common processing to
an UDPv6 specific helper and call it from both edemux code path
and normal code path. In respect to the UDPv4, we need to add an
explicit check for non zero csum according to no_check6_rx value.
Reported-by: Jianlin Shi <jishi@redhat.com>
Suggested-by: Xin Long <lucien.xin@gmail.com>
Fixes: c9f2c1ae123a ("udp6: fix socket leak on early demux")
Fixes: 2abb7cdc0dc8 ("udp: Add support for doing checksum unnecessary conversion")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions