HomeFreeBSD

ngatm: Handle errors from uni_msg_extend()

Description

ngatm: Handle errors from uni_msg_extend()

uni_msg_extend() may fail due to a memory allocation failure. In this
case, though, the message is freed, so callers shouldn't touch it.

PR: 255861
Reviewed by: harti
Sponsored by: The FreeBSD Foundation

(cherry picked from commit e755e2776ddff729ae4102f3273473aa33b00077)

Details

Provenance
markjAuthored on Jun 6 2021, 8:42 PM
Parents
rG9c84b01ac069: pf: Convenience function for optional (numeric) arguments
Branches
Unknown
Tags
Unknown