OSDN Git Service

tipc: properly handle off-node send requests with invalid addr
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 18 Apr 2012 13:22:56 +0000 (09:22 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 19 Apr 2012 19:46:47 +0000 (15:46 -0400)
commitb8f683d126c1cb757e794d6d904cbe7cf5954797
tree70206c678cb16bf0b7e6e32ea8a6a18111c41b03
parent974a5a864bf959b7f3412a31ee8ce001c6628451
tipc: properly handle off-node send requests with invalid addr

There are two send routines that might conceivably be asked by an
application to send a message off-node when the node is still using
the default network address.  These now have an added check that
detects this and rejects the message gracefully.

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