|
@@ -50,10 +50,8 @@ static int run_lwt_bpf(struct sk_buff *skb, struct bpf_lwt_prog *lwt,
|
|
* mixing with BH RCU lock doesn't work.
|
|
* mixing with BH RCU lock doesn't work.
|
|
*/
|
|
*/
|
|
preempt_disable();
|
|
preempt_disable();
|
|
- rcu_read_lock();
|
|
|
|
bpf_compute_data_pointers(skb);
|
|
bpf_compute_data_pointers(skb);
|
|
ret = bpf_prog_run_save_cb(lwt->prog, skb);
|
|
ret = bpf_prog_run_save_cb(lwt->prog, skb);
|
|
- rcu_read_unlock();
|
|
|
|
|
|
|
|
switch (ret) {
|
|
switch (ret) {
|
|
case BPF_OK:
|
|
case BPF_OK:
|