]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb64d5c63332258702546bbf0d0b6f253668de9f3
tree40df20287e49af647cff4b2dcef7158459607e8e
parent81aca8cebd08acfdb83e85d6c68af29237e74f51
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