-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: Reply with correct destination for ICMPv6 RA packets
When client sends RS we reply with RA to the source address, however the client is allowed to send RS with unspecified source address ("::"). In that case we would send the RA to that empty address which is not correct. According to RFC 2461 [0] the server is allowed to reply to the source address directly only if the address isn't unspecified: A router MAY choose to unicast the response directly to the soliciting host's address (if the solicitation's source address is not the unspecified address) Make sure we change the source for all noes address when it is unspecified. [0] https://www.ietf.org/rfc/rfc2461.txt Reported-at: https://issues.redhat.com/browse/FDP-43 Signed-off-by: Ales Musil <amusil@redhat.com> Acked-by: Mark Michelson <mmichels@redhat.com> Signed-off-by: Mark Michelson <mmichels@redhat.com>
- Loading branch information
Showing
2 changed files
with
116 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters