]> git.baikalelectronics.ru Git - kernel.git/commit
net: tcp: fix shim definition of tcp_inbound_md5_hash
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 9 Mar 2022 12:20:12 +0000 (14:20 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Mar 2022 16:44:40 +0000 (08:44 -0800)
commitee171b6204f907c9808c523def864be402ac6a9a
tree5b5cda177dfe9b82ab026713f0dd10f58c28aad1
parentded90acf1be46acee5b20d51154c6156bcca46dd
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: a9d8e498f224 ("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>
include/net/tcp.h