HomeFreeBSD

net: sprinkle __predict_false in ip_input on error conditions

Description

net: sprinkle __predict_false in ip_input on error conditions

While here rearrange the RVSP check to inspect proto first and avoid
evaluating V_rsvp in the common case to begin with (most notably avoid
the expensive read).

Reviewed by: glebius
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D32929

Details

Provenance
mjgAuthored on Nov 10 2021, 5:15 PM
Reviewer
glebius
Differential Revision
D32929: net: sprinkle __predict_false in ip_input on error conditions
Parents
rGb39a93b18ef1: ktls.4: fix openssl-devel port name
Branches
Unknown
Tags
Unknown