tipc: Fix bugs in rejection of message with short header
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 5 Jun 2008 00:48:25 +0000 (17:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2008 00:48:25 +0000 (17:48 -0700)
commit99c145939bc1f65f9b946f2b9dd7bfc1f44783d6
tree734a1f0c4a5ca0075087aa3a9f74635b04a1ab34
parent9bef54383d16568da19cfe46bdc52cdedb9bb8da
tipc: Fix bugs in rejection of message with short header

This patch ensures that TIPC doesn't try to access non-existent
message header fields when rejecting a message with a short header.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/port.c