]> 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)
commit8d39ad7bc73bd534a2cb4290efa8ed881c211c9f
tree33ac457d4f2fe6464309310015674afb6d553724
parent5024e75ef9a3990f731479e004272261127f29dc
parentf838061649dfb87888c0882d1a607bda1d284941
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>