]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Fix bug in topology server byte swapping routine
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 19 May 2008 20:29:06 +0000 (13:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2008 20:29:06 +0000 (13:29 -0700)
commitd44f4a03298d99ba88f5f6d17d005ee997418d43
tree361068dac2167badddd86ca5f8001c583a6a7fa1
parent210860ac402b53568d20d68390672c3ea30b6ffb
tipc: Fix bug in topology server byte swapping routine

This patch fixes TIPC's topology server so that it does byte swapping
correctly when endianness conversion is required.  (Note: This bug only
impacted an application if it issues a subscription request to a
topology server on another node, rather than the server on it's own
node; since the topology server is normally not accessible by off-node
applications, most TIPC applications were not impacted by the bug.)

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