Project

General

Profile

Actions

Bug #3642

open

logging filter imsi leaks bsc_subscr references

Added by daniel over 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
10/09/2018
Due date:
% Done:

0%

Spec Reference:

Description

The function log_set_filter_bsc_subscr is called by vty command "logging filter imsi <imsi>". This function calls bsc_subscr_get which is necessary so we don't loose/free the subscriber and forget the filter state.

However, it seems that the subscriber is never put() again:

OsmoBSC# show subscriber all 
 IMSI             TMSI      LAC    Use
 901700000023361  0122b2d3      1  8

OsmoBSC# logging filter imsi 901700000023361
OsmoBSC# logging filter imsi 901700000023361
OsmoBSC# logging filter imsi 901700000023361
OsmoBSC# logging filter imsi 901700000023361

OsmoBSC# show subscriber all                
 IMSI             TMSI      LAC    Use
 901700000023361  0122b2d3      1  12

OsmoBSC# logging disable
OsmoBSC# show subscriber all 
 IMSI             TMSI      LAC    Use
 901700000023361  0122b2d3      1  12

No data to display

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)