tipc: fix test of bearer_priority range in tipc_register_media()
commitb3df9a514f3c2020952cff34bc5bc6694a31c00c
authorroel kluin <roel.kluin@gmail.com>
Thu, 27 Aug 2009 02:03:15 +0000 (27 02:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 07:19:42 +0000 (29 00:19 -0700)
tree9d71fb739f4f9a3ae381855a5dd9365b797e6b22
parentea00b8e2223170a842bee06e0f27754ccdf2a217
tipc: fix test of bearer_priority range in tipc_register_media()

For the bearer_priority to be less than TIPC_MIN_LINK_PRI and greater than
TIPC_MAX_LINK_PRI is logically impossible.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c