mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
The nf_conntrack_core.c fix in 'net' is not relevant in 'net-next' because we no longer have a per-netns conntrack hash. The ip_gre.c conflict as well as the iwlwifi ones were cases of overlapping changes. Conflicts: drivers/net/wireless/intel/iwlwifi/mvm/tx.c net/ipv4/ip_gre.c net/netfilter/nf_conntrack_core.c Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
909b27f706
144 changed files with 1365 additions and 616 deletions
|
@ -768,6 +768,19 @@ static int __ovs_ct_lookup(struct net *net, struct sw_flow_key *key,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* Userspace may decide to perform a ct lookup without a helper
|
||||
* specified followed by a (recirculate and) commit with one.
|
||||
* Therefore, for unconfirmed connections which we will commit,
|
||||
* we need to attach the helper here.
|
||||
*/
|
||||
if (!nf_ct_is_confirmed(ct) && info->commit &&
|
||||
info->helper && !nfct_help(ct)) {
|
||||
int err = __nf_ct_try_assign_helper(ct, info->ct,
|
||||
GFP_ATOMIC);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
|
||||
/* Call the helper only if:
|
||||
* - nf_conntrack_in() was executed above ("!cached") for a
|
||||
* confirmed connection, or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue