]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit"
authorXie He <xie.he.0141@gmail.com>
Mon, 3 May 2021 03:51:36 +0000 (20:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 May 2021 20:37:58 +0000 (13:37 -0700)
commit9c18f03a05b59486cfe9e9f8323ae2f5d178e20b
tree2e93152ce85df8ab7dd6caea4ef7e6e9f74281a0
parent1edfc851e23982c74e30954e1fc3d183f142b4a5
Revert "drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit"

This reverts commit 15eff7d75a03
("drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit").

1. This commit is incorrect. "__skb_pad" will NOT free the skb on
failure when its "free_on_error" parameter is "false".

2. This commit claims to fix my commit. But it didn't CC me??

Fixes: 15eff7d75a03 ("drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit")
Cc: Lv Yunlong <lyl2019@mail.ustc.edu.cn>
Signed-off-by: Xie He <xie.he.0141@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hdlc_fr.c