diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2012-04-26 18:13:08 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-04-27 10:08:00 -0400 |
commit | aad585473fe1e4b07f2ec1e2432475937f90c385 (patch) | |
tree | 912d287ceb53b56622e7480bea470dedc855e93c /net/tipc/port.c | |
parent | 8f1778969359a71f398c9ac6d3a9a3e61439b466 (diff) | |
download | op-kernel-dev-aad585473fe1e4b07f2ec1e2432475937f90c385.zip op-kernel-dev-aad585473fe1e4b07f2ec1e2432475937f90c385.tar.gz |
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/port.c')
0 files changed, 0 insertions, 0 deletions