* [PATCH net-next] net: ip6_gre: remove gre_hdr_len from ip6erspan_rcv
[not found] <cover.1547663427.git.lorenzo.bianconi@redhat.com>
@ 2019-01-16 18:38 ` Lorenzo Bianconi
2019-01-18 21:56 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Bianconi @ 2019-01-16 18:38 UTC (permalink / raw)
To: davem; +Cc: netdev
Remove gre_hdr_len from ip6erspan_rcv routine signature since
it is not longer used
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
---
net/ipv6/ip6_gre.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c
index 09d0826742f8..4a1a86e9c0e9 100644
--- a/net/ipv6/ip6_gre.c
+++ b/net/ipv6/ip6_gre.c
@@ -524,7 +524,7 @@ static int ip6gre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi)
return PACKET_REJECT;
}
-static int ip6erspan_rcv(struct sk_buff *skb, int gre_hdr_len,
+static int ip6erspan_rcv(struct sk_buff *skb,
struct tnl_ptk_info *tpi)
{
struct erspan_base_hdr *ershdr;
@@ -611,7 +611,7 @@ static int gre_rcv(struct sk_buff *skb)
if (unlikely(tpi.proto == htons(ETH_P_ERSPAN) ||
tpi.proto == htons(ETH_P_ERSPAN2))) {
- if (ip6erspan_rcv(skb, hdr_len, &tpi) == PACKET_RCVD)
+ if (ip6erspan_rcv(skb, &tpi) == PACKET_RCVD)
return 0;
goto out;
}
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: ip6_gre: remove gre_hdr_len from ip6erspan_rcv
2019-01-16 18:38 ` [PATCH net-next] net: ip6_gre: remove gre_hdr_len from ip6erspan_rcv Lorenzo Bianconi
@ 2019-01-18 21:56 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-01-18 21:56 UTC (permalink / raw)
To: lorenzo.bianconi; +Cc: netdev
From: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Date: Wed, 16 Jan 2019 19:38:05 +0100
> Remove gre_hdr_len from ip6erspan_rcv routine signature since
> it is not longer used
>
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-18 21:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <cover.1547663427.git.lorenzo.bianconi@redhat.com>
2019-01-16 18:38 ` [PATCH net-next] net: ip6_gre: remove gre_hdr_len from ip6erspan_rcv Lorenzo Bianconi
2019-01-18 21:56 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).