diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-03-09 13:20:12 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-09 17:44:40 +0100 |
commit | 24055bb87977e0c687b54ebf7bac8715f3636bc3 (patch) | |
tree | 5b5cda177dfe9b82ab026713f0dd10f58c28aad1 /include/net | |
parent | MAINTAINERS: rectify entry for REALTEK RTL83xx SMI DSA ROUTER CHIPS (diff) | |
download | linux-24055bb87977e0c687b54ebf7bac8715f3636bc3.tar.xz linux-24055bb87977e0c687b54ebf7bac8715f3636bc3.zip |
net: tcp: fix shim definition of tcp_inbound_md5_hash
When CONFIG_TCP_MD5SIG isn't enabled, there is a compilation bug due to
the fact that the static inline definition of tcp_inbound_md5_hash() has
an unexpected semicolon. Remove it.
Fixes: 1330b6ef3313 ("skb: make drop reason booleanable")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20220309122012.668986-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index ee8237b58e1d..70ca4a5e330a 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -1693,7 +1693,7 @@ tcp_md5_do_lookup(const struct sock *sk, int l3index, static inline enum skb_drop_reason tcp_inbound_md5_hash(const struct sock *sk, const struct sk_buff *skb, const void *saddr, const void *daddr, - int family, int dif, int sdif); + int family, int dif, int sdif) { return SKB_NOT_DROPPED_YET; } |