commit | fb5c4cb0907a1aeeb92454a84abbd469f77514f2 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Tue Jan 04 17:22:00 2022 +0800 |
committer | developer <developer@mediatek.com> | Mon Jan 10 15:00:53 2022 +0800 |
tree | ae6c91e63d5e952cb3e5629087e53adbf2813f09 | |
parent | 7c6665c375f7cdf649234398066d26708001510d [diff] |
[][Fix judgment of NETDEV_UNREGISTER in nf_hnat_netdevice_event] [Description] Fix judgment of NETDEV_UNREGISTER in nf_hnat_netdevice_event. The previous code caused dev_put exception due to unreasonable judgment in nf_hnat_netdevice_event. For example: when create eth1.1, then delete eth1.1 cause crash. The change fix it. [Release-log] N/A Change-Id: I844cefca3c1af16e30c8d61bde7e16b5c982f507 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/5469830