Project

General

Profile

Bug #3642

logging filter imsi leaks bsc_subscr references

Added by daniel 10 days 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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)