Actions
Bug #4838
closedFix for 4596 has some inverted booleans
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2014-05-02
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
The results of post-4596's ip_srcid_find_id() are TRUE when there's a v4mapped/v6only MATCH between srcid and the desired type of address.
Some callers, notably in UDP, throw an error upon TRUE, which is wrong.
The toy C program, which reflects one UDP datagram on an unspecified, but port-bound AF_INET6 socket, demonstrates this bug.
Files
Related issues
Updated by Electric Monk about 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit 14b7b4606a1faf7fc4c0bbcc2946782d6538850e
commit 14b7b4606a1faf7fc4c0bbcc2946782d6538850e Author: Dan McDonald <danmcd@omniti.com> Date: 2014-05-05T15:13:58.000Z 4838 Fix for 4596 has some inverted booleans Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
Actions