diff options
author | 2022-03-09 13:04:15 +0100 | |
---|---|---|
committer | 2022-03-10 09:23:45 +0100 | |
commit | 1574481bb3de11c9d44f5405c17e948b76794f39 (patch) | |
tree | f43255a99adc8a7eda222a4344d8fba06ccbae09 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | can: isotp: set max PDU size to 64 kByte (diff) | |
download | linux-dev-1574481bb3de11c9d44f5405c17e948b76794f39.tar.xz linux-dev-1574481bb3de11c9d44f5405c17e948b76794f39.zip |
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