diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2012-04-27 00:13:08 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-04-27 16:08:00 +0200 |
commit | aad585473fe1e4b07f2ec1e2432475937f90c385 (patch) | |
tree | 912d287ceb53b56622e7480bea470dedc855e93c /net/tipc/bearer.c | |
parent | tipc: Enhance error checking of published names (diff) | |
download | linux-aad585473fe1e4b07f2ec1e2432475937f90c385.tar.xz linux-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/bearer.c')
0 files changed, 0 insertions, 0 deletions