aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorM Chetan Kumar <[email protected]>2021-12-09 14:32:28 +0000
committerJakub Kicinski <[email protected]>2021-12-11 04:53:56 +0000
commitda633aa3163fe1019c9e85333a17b74a5b99f5ac (patch)
tree1eb55e9c2c657994ac6c7fb41458b40f1ce1f93f /tools/lib/bpf/bpf_prog_linfo.c
parentnet: wwan: iosm: set tx queue len (diff)
downloadkernel-da633aa3163fe1019c9e85333a17b74a5b99f5ac.tar.gz
kernel-da633aa3163fe1019c9e85333a17b74a5b99f5ac.zip
net: wwan: iosm: release data channel in case no active IP session
If there is no active IP session (interface up & running) then release the data channel. Use nr_sessions variable to track current active IP sessions. If the count drops to 0, then send pipe close ctrl message to release the data channel. Signed-off-by: M Chetan Kumar <[email protected]> Reviewed-by: Sergey Ryazanov <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions