Skip to content

Commit 5de362d

Browse files
Paolo Abenidavem330
authored andcommitted
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: b8a51b3 ("fou, fou6: ICMP error handlers for FoU and GUE") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Acked-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 543fc3f commit 5de362d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv6/fou6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static int gue6_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
7272

7373
static int gue6_err_proto_handler(int proto, struct sk_buff *skb,
7474
struct inet6_skb_parm *opt,
75-
u8 type, u8 code, int offset, u32 info)
75+
u8 type, u8 code, int offset, __be32 info)
7676
{
7777
const struct inet6_protocol *ipprot;
7878

0 commit comments

Comments
 (0)