[ovs-dev] [PATCH 3/4] compat: Backport ip_do_fragment().

Joe Stringer joe at ovn.org
Fri Jun 24 21:42:09 UTC 2016


On 24 June 2016 at 14:33, Jesse Gross <jesse at kernel.org> wrote:
> On Wed, Jun 22, 2016 at 6:00 PM, Joe Stringer <joe at ovn.org> wrote:
>> diff --git a/datapath/linux/compat/include/net/ip.h b/datapath/linux/compat/include/net/ip.h
>> index 29a4d43a1151..581e912cf2dd 100644
>> --- a/datapath/linux/compat/include/net/ip.h
>> +++ b/datapath/linux/compat/include/net/ip.h
> [...]
>> +static inline void rpl_ip_options_fragment(struct sk_buff *skb)
>
> Is there any reason this isn't in ip_output.c like ip_copy_metadata()?
> They seem like somewhat analogous helper functions.

I can put it there. The definition wasn't originally in either of
these files, but the declaration is. Maybe it's clearer if I move it
to ip_output.c.



More information about the dev mailing list