[TIPC]: Use correct bitmask when setting version
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 6 Mar 2008 23:07:42 +0000 (15:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2008 23:07:42 +0000 (15:07 -0800)
commit37695420a233aa8aef40c68cb338ad09e0241ec3
treefd52baf85bc30e37a15e195d2cedc105b4d117fd
parent06d82c9191261942ce7873ce4a8735fd2a15e662
[TIPC]: Use correct bitmask when setting version

This patch ensures that the 3-bit version field of the TIPC
message header is masked correctly when written into a message.

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