~ubuntu-branches/ubuntu/utopic/haproxy/utopic-proposed

« back to all changes in this revision

Viewing changes to ebtree/eb64tree.h

  • Committer: Package Import Robot
  • Author(s): Vincent Bernat, Apollon Oikonomopoulos, Vincent Bernat, Prach Pongpanich
  • Date: 2013-05-06 20:02:14 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20130506200214-36s6p81fsa5zqybt
Tags: 1.4.23-1
[ Apollon Oikonomopoulos ]
* New upstream version (Closes: #643650, #678953)
   + This fixes CVE-2012-2942 (Closes: #674447)
   + This fixes CVE-2013-1912 (Closes: #704611)
* Ship vim addon as vim-haproxy (Closes: #702893)
* Check for the configuration file after sourcing /etc/default/haproxy
  (Closes: #641762)
* Use /dev/log for logging by default (Closes: #649085)

[ Vincent Bernat ]
* debian/control:
   + add Vcs-* fields
   + switch maintenance to Debian HAProxy team. (Closes: #706890)
   + drop dependency to quilt: 3.0 (quilt) format is in use.
* debian/rules:
   + don't explicitly call dh_installchangelog.
   + use dh_installdirs to install directories.
   + use dh_install to install error and configuration files.
   + switch to `linux2628` Makefile target for Linux.
* debian/postrm:
   + remove haproxy user and group on purge.
* Ship a more minimal haproxy.cfg file: no `listen` blocks but `global`
  and `defaults` block with appropriate configuration to use chroot and
  logging in the expected way.

[ Prach Pongpanich ]
* debian/copyright:
   + add missing copyright holders
   + update years of copyright
* debian/rules:
   + build with -Wl,--as-needed to get rid of unnecessary depends
* Remove useless files in debian/haproxy.{docs,examples}
* Update debian/watch file, thanks to Bart Martens

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        struct eb64_node *node;
126
126
        eb_troot_t *troot;
127
127
        u64 y;
128
 
        int node_bit;
129
128
 
130
129
        troot = root->b[EB_LEFT];
131
130
        if (unlikely(troot == NULL))
142
141
                }
143
142
                node = container_of(eb_untag(troot, EB_NODE),
144
143
                                    struct eb64_node, node.branches);
145
 
                node_bit = node->node.bit;
146
144
 
147
145
                y = node->key ^ x;
148
146
                if (!y) {
177
175
        eb_troot_t *troot;
178
176
        u64 key = x ^ (1ULL << 63);
179
177
        u64 y;
180
 
        int node_bit;
181
178
 
182
179
        troot = root->b[EB_LEFT];
183
180
        if (unlikely(troot == NULL))
194
191
                }
195
192
                node = container_of(eb_untag(troot, EB_NODE),
196
193
                                    struct eb64_node, node.branches);
197
 
                node_bit = node->node.bit;
198
194
 
199
195
                y = node->key ^ x;
200
196
                if (!y) {
229
225
        unsigned int side;
230
226
        eb_troot_t *troot;
231
227
        u64 newkey; /* caching the key saves approximately one cycle */
232
 
        eb_troot_t *root_right = root;
 
228
        eb_troot_t *root_right;
233
229
        int old_node_bit;
234
230
 
235
231
        side = EB_LEFT;
405
401
        unsigned int side;
406
402
        eb_troot_t *troot;
407
403
        u64 newkey; /* caching the key saves approximately one cycle */
408
 
        eb_troot_t *root_right = root;
 
404
        eb_troot_t *root_right;
409
405
        int old_node_bit;
410
406
 
411
407
        side = EB_LEFT;