summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStephen Suryaputra <ssuryaextr@gmail.com>2021-11-30 19:26:37 +0300
committerJakub Kicinski <kuba@kernel.org>2021-12-02 06:03:13 +0300
commitee201011c1e1563c114a55c86eb164b236f18e84 (patch)
tree2a29296590c16e3f8fdd244e230b92eff0907c89 /tools/perf/scripts/python
parente2dabc4f7e7b60299c20a36d6a7b24ed9bf8e572 (diff)
downloadlinux-ee201011c1e1563c114a55c86eb164b236f18e84.tar.xz
vrf: Reset IPCB/IP6CB when processing outbound pkts in vrf dev xmit
IPCB/IP6CB need to be initialized when processing outbound v4 or v6 pkts in the codepath of vrf device xmit function so that leftover garbage doesn't cause futher code that uses the CB to incorrectly process the pkt. One occasion of the issue might occur when MPLS route uses the vrf device as the outgoing device such as when the route is added using "ip -f mpls route add <label> dev <vrf>" command. The problems seems to exist since day one. Hence I put the day one commits on the Fixes tags. Fixes: 193125dbd8eb ("net: Introduce VRF device driver") Fixes: 35402e313663 ("net: Add IPv6 support to VRF device") Cc: stable@vger.kernel.org Signed-off-by: Stephen Suryaputra <ssuryaextr@gmail.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20211130162637.3249-1-ssuryaextr@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions