summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_statefuns.c
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2018-04-26 21:58:52 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-27 20:35:22 +0200
commitc88da20f95ad0bfa49e3e9035c26aaac0b05d11d (patch)
tree40df20287e49af647cff4b2dcef7158459607e8e /net/sctp/sm_statefuns.c
parentsctp: move transport pathmtu calc away of sctp_assoc_add_peer (diff)
downloadlinux-c88da20f95ad0bfa49e3e9035c26aaac0b05d11d.tar.xz
linux-c88da20f95ad0bfa49e3e9035c26aaac0b05d11d.zip
sctp: remove an if() that is always true
As noticed by Xin Long, the if() here is always true as PMTU can never be 0. Reported-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_statefuns.c')
0 files changed, 0 insertions, 0 deletions