diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2023-03-07 11:07:56 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-03-10 15:54:22 +0000 |
commit | 7b0d48fbb3ceebcafb18177fba02ab1a9ad4c24e (patch) | |
tree | 470661b8958c8eb70a452d93ea307b53c18eb642 /src/vlib/buffer_funcs.h | |
parent | 66c675e1a514a85ac56faf686fb96b63505c994f (diff) |
af_packet: fix the broken functionality upon admin down
Type: fix
In vpp, file descriptor handler closes the fd upon error
if there is no error handling function is registered.
This patch fixes the issue for af_packet interface by
registering the error handling function.
Errors will also be gracefully logged.
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I260d780ac54ffd0199dcd6ca5b95e5afe957e968
Diffstat (limited to 'src/vlib/buffer_funcs.h')
0 files changed, 0 insertions, 0 deletions