]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite2ce3fae71a2eded722d01bd3636c1931754089f
tree06521d98dec233bf68190ba2a017684ece5aa1c7
parent54c2b63a81ed686c796a1ef9fc2f7b253ca8d5ef
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