aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/addr.h
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2012-04-26 18:13:08 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-27 10:08:00 -0400
commitaad585473fe1e4b07f2ec1e2432475937f90c385 (patch)
tree912d287ceb53b56622e7480bea470dedc855e93c /net/tipc/addr.h
parenttipc: Enhance error checking of published names (diff)
downloadlinux-dev-aad585473fe1e4b07f2ec1e2432475937f90c385.tar.xz
linux-dev-aad585473fe1e4b07f2ec1e2432475937f90c385.zip
tipc: Reject payload messages with invalid message type
Adds check to ensure TIPC sockets reject incoming payload messages that have an unrecognized message type. Remove the old open question about whether TIPC_ERR_NO_PORT is the proper return value. It is appropriate here since there are valid instances where another node can make use of the reply, and at this point in time the host is already broadcasting TIPC data, so there are no real security concerns. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/addr.h')
0 files changed, 0 insertions, 0 deletions