]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'sockmap-fixes'
authorDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 02:18:49 +0000 (11:18 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 02:18:49 +0000 (11:18 +0900)
commitb91e0563786db578c975685dd6ef57e8f96146c3
tree927d92a4bf5018b3f82f4943fd9ee6a657c3a4e9
parent5c3bb5804437d21e95734a918c8d7a0b63c6f0be
parent20225c87e73bea1bc61ec13b0c71a9524f6d7c1f
Merge branch 'sockmap-fixes'

John Fastabend says:

====================
net: sockmap fixes

Last two fixes (as far as I know) for sockmap code this round.

First, we are using the qdisc cb structure when making the data end
calculation. This is really just wrong so, store it with the other
metadata in the correct tcp_skb_cb sturct to avoid breaking things.

Next, with recent work to attach multiple programs to a cgroup a
specific enumeration of return codes was agreed upon. However,
I wrote the sk_skb program types before seeing this work and used
a different convention. Patch 2 in the series aligns the return
codes to avoid breaking with this infrastructure and also aligns
with other programming conventions to avoid being the odd duck out
forcing programs to remember SK_SKB programs are different. Pusing
to net because its a user visible change. With this SK_SKB program
return codes are the same as other cgroup program types.
====================

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