[RFC 0/5] BPF infrastructure enhancements
    Stephen Hemminger 
    stephen at networkplumber.org
       
    Fri Jan  5 23:28:06 CET 2024
    
    
  
While investigating the BPF program load in TAP device
found a number of minor issues that should be addressed.
Stephen Hemminger (5):
  tap: move forward declaration of bpf_load
  tap: remove unnecessary bzero() calls in bpf api
  tap: remove unnecessary cast in call to bpf_load
  tap: get errors from kernel on bpf load failure
  tap: stop "vendoring" linux bpf header
 drivers/net/tap/bpf/bpf_extract.py |   1 -
 drivers/net/tap/tap_bpf.h          | 121 -----------------------------
 drivers/net/tap/tap_bpf_api.c      |  73 +++++++++++------
 drivers/net/tap/tap_bpf_insns.h    |   1 -
 drivers/net/tap/tap_flow.c         |  16 ++--
 drivers/net/tap/tap_flow.h         |   4 +-
 6 files changed, 60 insertions(+), 156 deletions(-)
 delete mode 100644 drivers/net/tap/tap_bpf.h
-- 
2.43.0
    
    
More information about the dev
mailing list