aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2013-04-18 21:43:44 -0400
committerSimon Horman <horms@verge.net.au>2013-04-22 22:43:06 -0400
commit38561437d056b11f679f9735d68ad597ba67dc84 (patch)
treec6f67709dac0112b4bd59b5a861a3008fc67ec7f /tools/perf/scripts/python
parent4bfbfbf91fb3a29a775f6ea11e3a8198685590ae (diff)
ipvs: Use network byte order for sync message size
struct ip_vs_sync_mesg and ip_vs_sync_mesg_v0 are both sent across the wire and used internally to store IPVS synchronisation messages. Up until now the scheme used has been to convert the size field to network byte order before sending a message on the wire and convert it to host byte order when sending a message. This patch changes that scheme to always treat the field as being network byte order. This seems appropriate as the structure is sent across the wire. And by consistently treating the field has network byte order it is now possible to take advantage of sparse to flag any future miss-use. Acked-by: Julian Anastasov <ja@ssi.bg> Acked-by: Hans Schillstrom <hans@schillstrom.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions