diff options
author | Willem de Bruijn <willemb@google.com> | 2015-05-12 11:56:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-13 15:42:59 -0400 |
commit | ad377cab4966e2f9162f05be1f7eeae466d411a8 (patch) | |
tree | a6ff169cd641b60acbb5099e54b632de3e751479 /net/packet/internal.h | |
parent | 7d771aaac7b2459013e9a246f16c06d4f2b819e1 (diff) | |
download | linux-ad377cab4966e2f9162f05be1f7eeae466d411a8.tar.gz linux-ad377cab4966e2f9162f05be1f7eeae466d411a8.tar.bz2 linux-ad377cab4966e2f9162f05be1f7eeae466d411a8.zip |
packet: rollover prepare: move code out of callsites
packet_rcv_fanout calls fanout_demux_rollover twice. Move all rollover
logic into the callee to simplify these callsites, especially with
upcoming changes.
The main differences between the two callsites is that the FLAG
variant tests whether the socket previously selected by another
mode (RR, RND, HASH, ..) has room before migrating flows, whereas the
rollover mode has no original socket to test.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet/internal.h')
0 files changed, 0 insertions, 0 deletions