diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2022-03-09 15:04:15 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-03-10 11:23:45 +0300 |
commit | 1574481bb3de11c9d44f5405c17e948b76794f39 (patch) | |
tree | f43255a99adc8a7eda222a4344d8fba06ccbae09 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9c0c191d82a1de964ac953a1df8b5744ec670b07 (diff) | |
download | linux-1574481bb3de11c9d44f5405c17e948b76794f39.tar.xz |
vxcan: remove sk reference in peer skb
With can_create_echo_skb() the skb which is forwarded to the peer CAN
interface shares the sk pointer from the originating socket.
This makes the CAN frame show up in the peer namespace as a TX packet.
With the use of skb_clone() analogue to the handling in gw.c the peer
skb gets a new start in the peer namespace and correctly appears as
a RX packet.
Link: https://lore.kernel.org/all/20220309120416.83514-4-socketcan@hartkopp.net
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions