tipc: Ignore neighbor discovery messages containing invalid address
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 7 Oct 2011 19:48:41 +0000 (15:48 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:38 +0000 (11:33 -0500)
commitd6d4577ae48bcfde06894540ea793abf076e1643
tree06521d98dec233bf68190ba2a017684ece5aa1c7
parent3d749a6a26b0811b4b2bb4ec2c47cd630a6bbf88
tipc: Ignore neighbor discovery messages containing invalid address

Adds a check to ensure that TIPC ignores an incoming neighbor discovery
message that specifies an invalid media address as its source. The check
ensures that the source address is a valid, non-broadcast address that
could legally be used by a neighboring link endpoint.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/discover.c