summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc
diff options
context:
space:
mode:
authorbryanv <bryanv@FreeBSD.org>2014-10-09 05:17:47 +0000
committerbryanv <bryanv@FreeBSD.org>2014-10-09 05:17:47 +0000
commit5dee4f91b50b08745e65149ff2d116be63b5bd50 (patch)
treea03f3d35e08403a430a9d8cb93e617a2857af839 /contrib/netbsd-tests/lib/libc
parent1790920bf6ef1b6943ca86342b4c89dcae2d06c1 (diff)
downloadFreeBSD-src-5dee4f91b50b08745e65149ff2d116be63b5bd50.zip
FreeBSD-src-5dee4f91b50b08745e65149ff2d116be63b5bd50.tar.gz
Check for mbuf copy failure when there are multiple multicast sockets
This partitular case is the only path where the mbuf could be NULL. udp_append() checked for a NULL mbuf only after invoking the tunneling callback. Our only in tree tunneling callback - SCTP - assumed a non NULL mbuf, and it is a bit odd to make the callbacks responsible for checking this condition. This also reduces the differences between the IPv4 and IPv6 code. MFC after: 1 month
Diffstat (limited to 'contrib/netbsd-tests/lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud