]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'xdp-bpf-fixes'
authorDavid S. Miller <davem@davemloft.net>
Sat, 9 Sep 2017 04:11:01 +0000 (21:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Sep 2017 04:11:01 +0000 (21:11 -0700)
commitc29f03c80a0c0c5cbf83b7cb7361e4b6afdbf1ad
tree0925d65fb3e7e0eec9f6d08f22086a861d294dac
parentcfa2e908e7738f1f3ed8737c1e85047852989ffa
parent913bdfb6a5d96eaac0d05a6aff719a9f756b10c6
Merge branch 'xdp-bpf-fixes'

John Fastabend says:

====================
net: Fixes for XDP/BPF

The following fixes, UAPI updates, and small improvement,

i. XDP needs to be called inside RCU with preempt disabled.

ii. Not strictly a bug fix but we have an attach command in the
sockmap UAPI already to avoid having a single kernel released with
only the attach and not the detach I'm pushing this into net branch.
Its early in the RC cycle so I think this is OK (not ideal but better
than supporting a UAPI with a missing detach forever).

iii. Final patch replace cpu_relax with cond_resched in devmap.
====================

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