Fix for 4596 has some inverted booleans
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.
Updated by Electric Monk about 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 14b7b4606a1faf7fc4c0bbcc2946782d6538850e Author: Dan McDonald <email@example.com> Date: 2014-05-05T15:13:58.000Z 4838 Fix for 4596 has some inverted booleans Reviewed by: Josef 'Jeff' Sipek <firstname.lastname@example.org> Reviewed by: Sebastien Roy <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>