diff options
author | Paolo Abeni <pabeni@redhat.com> | 2019-02-21 17:43:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-22 16:05:11 -0800 |
commit | 5de362df44d71fc8f6b153ae4eaa2a1284c84490 (patch) | |
tree | e1f2e82ffbe42735d83cb79ea6775586763e9e78 /net/ipv6 | |
parent | 543fc3fb41834a7f2e4cfa1dcf8aa9c472a52e9a (diff) | |
download | linux-5de362df44d71fc8f6b153ae4eaa2a1284c84490.tar.bz2 |
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: b8a51b38e4d4 ("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>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/fou6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/fou6.c b/net/ipv6/fou6.c index b858bd5280bf..867474abe269 100644 --- a/net/ipv6/fou6.c +++ b/net/ipv6/fou6.c @@ -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; |