]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit776323ab2cb6124a8f821e3f40cb614a3256e342
tree70206c678cb16bf0b7e6e32ea8a6a18111c41b03
parent58e6fe483e5f438eadbc610b6d9f223fa513c7c0
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