]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: fix incorrect vlan_push_eth dest field
authorLouis Peens <louis.peens@corigine.com>
Wed, 23 Mar 2022 09:25:06 +0000 (11:25 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Mar 2022 17:32:48 +0000 (10:32 -0700)
commitf5d836d8a83ceb9bf8225461ea352dccfb86bc78
tree1d12b5b94b59764454b678051f99d7631ed0dfbd
parentf116c9fc668fffb474bcee2f4d0b1c9583bb086b
net/sched: fix incorrect vlan_push_eth dest field

Seems like a potential copy-paste bug slipped in here,
the second memcpy should of course be populating src
and not dest.

Fixes: 4f3a621bd6cb ("net/sched: add vlan push_eth and pop_eth action to the hardware IR")
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Link: https://lore.kernel.org/r/20220323092506.21639-1-louis.peens@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tc_act/tc_vlan.h