]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit9db8992b9d5d0627453d08c919b412fa7a0177ac
treed15e614a2d989731fe5a32b3de6c35cf5a568737
parentb484e87e34473a99b21b0db34d6a701e5cb3a4cc
[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