Re: [PATCH net-next 2/6] openvswitch: Pass net into ovs_fragment
From: Eric W. Biederman <hidden>
Date: 2015-10-01 16:03:59
Also in:
netfilter-devel
From: Eric W. Biederman <hidden>
Date: 2015-10-01 16:03:59
Also in:
netfilter-devel
Nicolas Dichtel [off-list ref] writes:
Le 30/09/2015 23:25, Eric W. Biederman a écrit :quoted
In preparation for the ipv4 and ipv6 fragmentation code taking a net parameter pass a struct net into ovs_fragment where the v4 and v6 fragmentation code is called. Signed-off-by: "Eric W. Biederman" <redacted> ---[snip]quoted
@@ -748,6 +748,7 @@ static void do_output(struct datapath *dp, struct sk_buff *skb, int out_port, if (likely(!mru || (skb->len <= mru + ETH_HLEN))) { ovs_vport_send(vport, skb); } else if (mru <= vport->dev->mtu) { + struct net *net = read_pnet(&dp->net);nit: add an empty line after variables declaration.quoted
__be16 ethertype = key->eth.type;
^^^^^^^^^^^ The empty line is right here, after the second variable
declaration.
quoted
if (!is_flow_key_valid(key)) {[snip]
-- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html