commit | 8914f4bace3f3a56f14accb45f9f4b9456670b4a | [log] [tgz] |
---|---|---|
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | Sun Apr 29 12:56:32 2018 -0300 |
committer | David S. Miller <davem@davemloft.net> | Tue May 01 12:09:35 2018 -0400 |
tree | 2945708f1ade9682bea346649ebe30ca77b9c165 | |
parent | 6d3e8aa87622b30bfabbbfad7674d2464f2a9cb9 [diff] |
sctp: add sctp_make_op_error_limited and reuse inner functions The idea is quite similar to the old functions, but note that the _fixed function wasn't "fixed" as in that it would generate a packet with a fixed size, but rather limited/bounded to PMTU. Also, now with sctp_mtu_payload(), we have a more accurate limit. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>