]> git.proxmox.com Git - ovs.git/commit
compat: ipv4: Pass struct net into ip_defrag.
authorJoe Stringer <joe@ovn.org>
Mon, 2 May 2016 18:19:11 +0000 (11:19 -0700)
committerJoe Stringer <joe@ovn.org>
Tue, 3 May 2016 00:06:36 +0000 (17:06 -0700)
commit39c0ff22171091ab7eeb021070ba7a751ac10637
treefa1c70679ed30ab36a2fc3eb2c84ade71a296899
parentfa67f8e0700a57f81f467abd99e9753cc13a5cc0
compat: ipv4: Pass struct net into ip_defrag.

Upstream commit:
    ipv4: Pass struct net into ip_defrag and ip_check_defrag

    The function ip_defrag is called on both the input and the output
    paths of the networking stack.  In particular conntrack when it is
    tracking outbound packets from the local machine calls ip_defrag.

    So add a struct net parameter and stop making ip_defrag guess which
    network namespace it needs to defragment packets in.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Upstream: 19bcf9f203c8 ("ipv4: Pass struct net into ip_defrag and ip_check_defrag")
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
acinclude.m4
datapath/conntrack.c
datapath/linux/compat/include/net/ip.h
datapath/linux/compat/ip_fragment.c