Re: [PATCH net-next] vti4: eliminated some duplicate code.

2019-03-26 Thread Steffen Klassert
On Sat, Mar 23, 2019 at 02:43:02PM +, Jeremy Sowden wrote: > The ipip tunnel introduced in commit dd9ee3444014 ("vti4: Fix a ipip > packet processing bug in 'IPCOMP' virtual tunnel") largely duplicated > the existing vti_input and vti_recv functions. Refactored to > deduplicate the common code

[PATCH net-next] vti4: eliminated some duplicate code.

2019-03-23 Thread Jeremy Sowden
The ipip tunnel introduced in commit dd9ee3444014 ("vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel") largely duplicated the existing vti_input and vti_recv functions. Refactored to deduplicate the common code. Signed-off-by: Jeremy Sowden --- net/ipv4/ip_vti.c | 60 ++