diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-02-12 18:29:06 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-12 11:39:32 -0500 |
commit | 27af86bb038d9c8b8066cd17854ddaf2ea92bce1 (patch) | |
tree | a3600d7dc1ec6003b029c0845bc4db9a87a506b7 /crypto | |
parent | 1b12580af1d0677c3c3a19e35bfe5d59b03f737f (diff) |
sctp: do not pr_err for the duplicated node in transport rhlist
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions