diff options
-rw-r--r-- | net/netfilter/nf_conntrack_netlink.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c index 3f73327794ab..d0fe3d769828 100644 --- a/net/netfilter/nf_conntrack_netlink.c +++ b/net/netfilter/nf_conntrack_netlink.c | |||
@@ -869,8 +869,7 @@ ctnetlink_change_helper(struct nf_conn *ct, struct nfattr *cda[]) | |||
869 | return 0; | 869 | return 0; |
870 | 870 | ||
871 | if (help->helper) | 871 | if (help->helper) |
872 | /* we had a helper before ... */ | 872 | return -EBUSY; |
873 | nf_ct_remove_expectations(ct); | ||
874 | 873 | ||
875 | /* need to zero data of old helper */ | 874 | /* need to zero data of old helper */ |
876 | memset(&help->help, 0, sizeof(help->help)); | 875 | memset(&help->help, 0, sizeof(help->help)); |