Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5de362df authored by Paolo Abeni's avatar Paolo Abeni Committed by David S. Miller
Browse files

fou6: fix proto error handler argument type



Last argument of gue6_err_proto_handler() has a wrong type annotation,
fix it and make sparse happy again.

Fixes: b8a51b38 ("fou, fou6: ICMP error handlers for FoU and GUE")
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Acked-by: default avatarStefano Brivio <sbrivio@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 543fc3fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ static int gue6_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,

static int gue6_err_proto_handler(int proto, struct sk_buff *skb,
				  struct inet6_skb_parm *opt,
				  u8 type, u8 code, int offset, u32 info)
				  u8 type, u8 code, int offset, __be32 info)
{
	const struct inet6_protocol *ipprot;