]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'faster-soreuseport'
authorDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2016 03:49:59 +0000 (22:49 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2016 03:49:59 +0000 (22:49 -0500)
commit01945600ef2f538d23c3d9008445fbb136a364bf
treec3cf3d3cd580a1e759b2914cb79bf6ebcb28eb3f
parent89a01220ae9085ac799c5a5751654297d6ea0ae1
parent2bc848386d9076615f6c69c4718be250fd2b3f1b
Merge branch 'faster-soreuseport'

Craig Gallek says:

====================
Faster SO_REUSEPORT

This series contains two optimizations for the SO_REUSEPORT feature:
Faster lookup when selecting a socket for an incoming packet and
the ability to select the socket from the group using a BPF program.

This series only includes the UDP path.  I plan to submit a follow-up
including the TCP path if the implementation in this series is
acceptable.

Changes in v4:
- pskb_may_pull is unnecessary with pskb_pull (per Alexei Starovoitov)

Changes in v3:
- skb_pull_inline -> pskb_pull (per Alexei Starovoitov)
- reuseport_attach* -> sk_reuseport_attach* and simple return statement
  syntax change (per Daniel Borkmann)

Changes in v2:
- Fix ARM build; remove unnecessary include.
- Handle case where protocol header is not in linear section (per
  Alexei Starovoitov).
====================

Signed-off-by: David S. Miller <davem@davemloft.net>