diff options
author | Jakub Kicinski <[email protected]> | 2017-11-03 13:56:18 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-11-05 22:26:18 +0900 |
commit | bd601b6ada11fdfb9e277f24ad2eb54bc599156b (patch) | |
tree | 358763b441dfcc6d0a3a8a6e75878f1f08cb60e3 /net/core/dev.c | |
parent | ab3f0063c48c26c927851b6767824e35a716d878 (diff) |
bpf: report offload info to user space
Extend struct bpf_prog_info to contain information about program
being bound to a device. Since the netdev may get destroyed while
program still exists we need a flag to indicate the program is
loaded for a device, even if the device is gone.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions