net: gro: move two declarations to include/net/gro.h
authorEric Dumazet <edumazet@google.com>
Fri, 8 Mar 2024 10:22:30 +0000 (10:22 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 11 Mar 2024 21:13:14 +0000 (14:13 -0700)
commite5b7aefe38f7f6258935d8a10c36552dd957048a
treef41422cb9d72d51e6bb7e445efdeaa02f56f5fb3
parent2b3953585953a42cd29045c80b20b2bdd6633225
net: gro: move two declarations to include/net/gro.h

Move gro_find_receive_by_type() and gro_find_complete_by_type()
to include/net/gro.h where they belong.

Also use _NET_GRO_H instead of _NET_IPV6_GRO_H to protect
include/net/gro.h from multiple inclusions.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240308102230.296224-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/netdevice.h
include/net/gro.h