summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2024-07-18 15:34:07 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-07-23 10:28:16 +0200
commitcc73bbab4b1fb8a4f53a24645871dafa5f81266a (patch)
tree0ab73811644dbe8ec42c2cba292e5b8d2679b2bd /scripts/stackusage
parentd7e78951a8b8b53e4d52c689d927a6887e6cfadf (diff)
ipv4: Fix incorrect source address in Record Route option
The Record Route IP option records the addresses of the routers that routed the packet. In the case of forwarded packets, the kernel performs a route lookup via fib_lookup() and fills in the preferred source address of the matched route. The lookup is performed with the DS field of the forwarded packet, but using the RT_TOS() macro which only masks one of the two ECN bits. If the packet is ECT(0) or CE, the matched route might be different than the route via which the packet was forwarded as the input path masks both of the ECN bits, resulting in the wrong address being filled in the Record Route option. Fix by masking both of the ECN bits. Fixes: 8e36360ae876 ("ipv4: Remove route key identity dependencies in ip_rt_get_source().") Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Guillaume Nault <gnault@redhat.com> Link: https://patch.msgid.link/20240718123407.434778-1-idosch@nvidia.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
td>Xiao Guangrong 2012-06-18KVM: Introduce __KVM_HAVE_IRQ_LINEChristoffer Dall 2012-03-05KVM: provide synchronous registers in kvm_runChristian Borntraeger 2010-08-01KVM: x86: XSAVE/XRSTOR live migration supportSheng Yang 2010-04-25KVM: x86: Add support for saving&restoring debug registersJan Kiszka 2010-04-25KVM: x86: Save&restore interrupt shadow maskJan Kiszka 2009-12-27KVM: x86: Extend KVM_SET_VCPU_EVENTS with selective updatesJan Kiszka 2009-12-03KVM: x86: Add KVM_GET/SET_VCPU_EVENTSJan Kiszka 2009-12-03KVM: Xen PV-on-HVM guest supportEd Swierk 2009-12-03KVM: Maintain back mapping from irqchip/pin to gsiGleb Natapov 2009-09-10KVM: PIT support for HPET legacy modeBeth Kon 2009-09-10KVM: Add MCE supportHuang Ying 2009-06-10KVM: Enable MSI-X for KVM assigned deviceSheng Yang 2009-03-24KVM: Avoid using CONFIG_ in userspace visible headersAvi Kivity 2009-03-24KVM: PIT: provide an option to disable interrupt reinjectionMarcelo Tosatti 2009-03-24KVM: New guest debug interfaceJan Kiszka 2009-02-15KVM: Avoid using CONFIG_ in userspace visible headersAvi Kivity 2009-01-31headers_check fix: x86, kvm.hJaswinder Singh Rajput 2008-10-22x86: Fix ASM_X86__ header guardsH. Peter Anvin 2008-10-22x86, um: ... and asm-x86 moveAl Viro