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)
commit38cc1cffa591c12cf06d51c4b73e745c2a746dba
tree06521d98dec233bf68190ba2a017684ece5aa1c7
parentbc0d7ff7a3e66ec4747a4187caabd92cd4c81fce
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