summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2018-02-12 13:29:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-09 09:41:14 +0300
commit36728a6b39c1c61f9f96281b09d3648ac27cce51 (patch)
treeebf8be30ce92085548ad57548e310237a2185839 /net/ipv4/tcp_input.c
parent54d6bc97b4c9af3dee9fc594c88d1ea1f9382630 (diff)
downloadlinux-36728a6b39c1c61f9f96281b09d3648ac27cce51.tar.xz
sctp: do not pr_err for the duplicated node in transport rhlist
[ Upstream commit 27af86bb038d9c8b8066cd17854ddaf2ea92bce1 ] The pr_err in sctp_hash_transport was supposed to report a sctp bug for using rhashtable/rhlist. The err '-EEXIST' introduced in Commit cd2b70875058 ("sctp: check duplicate node before inserting a new transport") doesn't belong to that case. So just return -EEXIST back without pr_err any kmsg. Fixes: cd2b70875058 ("sctp: check duplicate node before inserting a new transport") Reported-by: Wei Chen <weichen@redhat.com> Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions