[TIPC]: Use correct bitmask when setting version
[deliverable/linux.git] / net / tipc / msg.h
index 5cf76a4f28e43903bb68abd25afc8d893df2ef6d..88a2ee03bb2a33bac948f132faaeb8e3ef36454b 100644 (file)
@@ -85,7 +85,7 @@ static inline u32 msg_version(struct tipc_msg *m)
 
 static inline void msg_set_version(struct tipc_msg *m)
 {
-       msg_set_bits(m, 0, 29, 0xf, TIPC_VERSION);
+       msg_set_bits(m, 0, 29, 7, TIPC_VERSION);
 }
 
 static inline u32 msg_user(struct tipc_msg *m)
This page took 0.027078 seconds and 5 git commands to generate.