[TIPC]: Ignore message padding when receiving stream data
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 15 Apr 2008 07:15:15 +0000 (00:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Apr 2008 07:15:15 +0000 (00:15 -0700)
commit7a8036c2b93c8301afce8f75ac099c347bad569d
treed15e614a2d989731fe5a32b3de6c35cf5a568737
parenta198d3a200313bca8261e30e6daaad790937fd7e
[TIPC]: Ignore message padding when receiving stream data

This patch ensures that padding bytes appearing at the end of
an incoming TIPC message are not returned as valid stream data.

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