+5
−7
Loading
mainline inclusion from mainline-v5.3-rc1 commit d2c3a4ba category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBEAPI CVE: CVE-2024-56642 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d2c3a4ba25fbfb6b2c7b5fe423be1b287954cd4c ------------------------------------------------- Both tipc_udp_enable and tipc_udp_disable are called under rtnl_lock, ub->ubsock could never be NULL in tipc_udp_disable and cleanup_bearer, so remove the check. Also remove the one in tipc_udp_enable by adding "free" label. Signed-off-by:Xin Long <lucien.xin@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Conflicts: net/tipc/udp_media.c [Did not backport e9c1a793.] Signed-off-by:
Liu Jian <liujian56@huawei.com>