]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'kzproxy-next'
authorDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 22:26:19 +0000 (15:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 22:26:19 +0000 (15:26 -0700)
commit67b6eef2751d0cf91fc0885a1395ec12c923e1cc
tree33ac457d4f2fe6464309310015674afb6d553724
parent3b1d32c2724aa5665b09d16d9e9431dc82357157
parent33ad170dafdce3ee018385801858ba49c151193b
Merge branch 'kzproxy-next'

Tom Herbert says:

====================
net: Infrastructure changes for [kz]proxy

This patch set contains some general infrastructure enhancements that
will be used by kernel proxy and zero proxy.

The changes are:
  - proto_ops: Add locked versions of sendmsg and sendpage
  - skb_send_sock: Allow sending and skb on a socket within the
    kernel
  - Generalize strparser. Allow it to be used in other contexts than
    just in the read_sock path. This will be used in the transmit
    path of zero proxy.

Some nice future work (which I've been discussing with John Fastabend)
will be to make some of the related functions to allow gifting of skbs
We should be able to do that with skb_send_sock and strp_process. I'd
also like this feature in the read_sock callbeck.

Tested: Ran modified kernel without incident. Tested new functionality
using zero proxy (in development).
====================

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