gro_cells: move to net/core/gro_cells.c

We have many gro cells users, so lets move the code to avoid
duplication.

This creates a CONFIG_GRO_CELLS option.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eric Dumazet 2017-02-07 15:37:15 -08:00 committed by David S. Miller
parent 40710cf9ad
commit 97e219b7c1
8 changed files with 107 additions and 82 deletions

View file

@ -4,6 +4,7 @@
config XFRM
bool
depends on NET
select GRO_CELLS
config XFRM_ALGO
tristate