HomeFreeBSD

ip_output: always increase "cantfrag" stat if ip_fragment() fails

Description

ip_output: always increase "cantfrag" stat if ip_fragment() fails

While here, join two unlikely cases into one if clause.

Submitted by: Ivan Rozhuk <rozhuk.im gmail.com>
PR: 265718
Reviewed by: mjg, melifaro
Differential revision: https://reviews.freebsd.org/D36584

Details

Provenance
glebiusAuthored on Sep 15 2022, 2:22 AM
Reviewer
mjg
Differential Revision
D36584: ip_output: always increase "cantfrag" stat if ip_fragment() fails
Parents
rG145a50dcda7a: Unbreak the build after b3ee318b79d54a59190d35b8c76a63a8fb81b903
Branches
Unknown
Tags
Unknown