diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-04-21 10:29:03 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-05-16 22:03:45 +0200 |
commit | 2af84932b3a1db29e37b10ef7f268da47489eb16 (patch) | |
tree | 019d3aee0275eb984b771d1a5eb6872d4a68c4d7 /fs/hfs | |
parent | d887ae3247e022183f244cb325dca1dfbd0a9ed0 (diff) |
can: raw: raw_sendmsg(): remove not needed setting of skb->sk
The skb in raw_sendmsg() is allocated with sock_alloc_send_skb(),
which subsequently calls sock_alloc_send_pskb() -> skb_set_owner_w(),
which assigns "skb->sk = sk".
This patch removes the not needed setting of skb->sk.
Link: https://lore.kernel.org/all/20220502091946.1916211-2-mkl@pengutronix.de
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions