--- zzzz-none-000/linux-4.9.279/net/netfilter/nfnetlink_cthelper.c 2021-08-08 06:38:54.000000000 +0000 +++ puma7-atom-6591-750/linux-4.9.279/net/netfilter/nfnetlink_cthelper.c 2023-02-08 11:43:43.000000000 +0000 @@ -425,6 +425,7 @@ helper = cur; break; } + rcu_read_unlock(); if (helper == NULL) ret = nfnl_cthelper_create(tb, &tuple); @@ -432,6 +433,9 @@ ret = nfnl_cthelper_update(tb, helper); return ret; +err: + rcu_read_unlock(); + return ret; } static int @@ -651,7 +655,7 @@ } ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, - MSG_DONTWAIT); + MSG_DONTWAIT, 0); if (ret > 0) ret = 0; @@ -667,6 +671,7 @@ { char *helper_name = NULL; struct nf_conntrack_helper *cur; + struct hlist_node *tmp; struct nf_conntrack_tuple tuple; bool tuple_set = false, found = false; struct nfnl_cthelper *nlcth, *n;