----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20297/#review40435 -----------------------------------------------------------
src/linux/routing/filter/ip.cpp <https://reviews.apache.org/r/20297/#comment73437> i <= 0xff is always true since i is an unsigned char. Picking a reasonable number here, for example 64, is okay. It's unlikely that anyone will use more than 64 keys in one filter. - Cong Wang On April 13, 2014, 11:50 p.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/20297/ > ----------------------------------------------------------- > > (Updated April 13, 2014, 11:50 p.m.) > > > Review request for mesos, Benjamin Hindman, Chi Zhang, Ian Downes, Vinod > Kone, and Cong Wang. > > > Repository: mesos-git > > > Description > ------- > > The is Part 4 of the linux routing library. > > > Diffs > ----- > > src/Makefile.am 560b4c7 > src/linux/routing/filter/ip.hpp PRE-CREATION > src/linux/routing/filter/ip.cpp PRE-CREATION > src/tests/routing_tests.cpp PRE-CREATION > > Diff: https://reviews.apache.org/r/20297/diff/ > > > Testing > ------- > > make check > sudo make check > > > Thanks, > > Jie Yu > >
