summaryrefslogtreecommitdiff
path: root/net/packet/internal.h
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2015-05-12 15:56:45 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-05-13 19:42:59 (GMT)
commitad377cab4966e2f9162f05be1f7eeae466d411a8 (patch)
treea6ff169cd641b60acbb5099e54b632de3e751479 /net/packet/internal.h
parent7d771aaac7b2459013e9a246f16c06d4f2b819e1 (diff)
downloadlinux-ad377cab4966e2f9162f05be1f7eeae466d411a8.tar.xz
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