Repository navigation
Commit c6fe258
feat: answer a UE-requested modification instead of dropping it
A PDU SESSION MODIFICATION REQUEST was decoded, logged at debug and dropped.
The UE is left retransmitting a request nothing will ever answer, and TS 24.501
subclause 6.4.2 expects an answer either way -- so the session ends up in the
one state the specification does not describe.
The SMF does not implement UE-requested modification, and saying so is an
answer: the request is refused with a MODIFICATION REJECT carrying the cause,
attached to the UpdateSmContext response per TS 23.502 subclause 4.3.3.2 step
3a. The UE stops asking and knows why, instead of retrying into silence.
One case is not refused. TS 24.501 subclause 6.3.2.5 item d: a UE request for a
session the network is already modifying is disregarded, not rejected -- the
network's own procedure carries on as if the request had never arrived, so no
reject, no state change, and T3591 keeps running. Refusing there would answer a
procedure the UE is entitled to have ignored, and the back-off that cause 32
asks for would be applied to a session that is being modified perfectly well.
The shared activeSmContext fixture now carries an empty tunnel. An
active session always has one, and since #659 a policy update refuses a
session without one as being released, so this change's tests of the
network-initiated procedure would otherwise stop at that refusal.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Edvin Lindqvist <edvin.lindqvist@forsway.com>1 parent 061be74 commit c6fe258
6 files changed
Lines changed: 610 additions & 5 deletions
File tree
- context
- producer
- smferrors
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
213 | 222 | | |
214 | 223 | | |
215 | 224 | | |
| |||
219 | 228 | | |
220 | 229 | | |
221 | 230 | | |
222 | | - | |
223 | | - | |
224 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
225 | 239 | | |
226 | | - | |
| 240 | + | |
227 | 241 | | |
228 | 242 | | |
229 | 243 | | |
| |||
0 commit comments