OSDN Git Service

sctp: remove an if() that is always true
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Thu, 26 Apr 2018 19:58:52 +0000 (16:58 -0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 18:35:22 +0000 (14:35 -0400)
commitc88da20f95ad0bfa49e3e9035c26aaac0b05d11d
tree40df20287e49af647cff4b2dcef7158459607e8e
parent800e00c12733fe2ed565206dcdb515fa2f705b9f
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>
net/sctp/associola.c