Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion net/rose/rose_in.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,18 @@ static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int framety
break;

default:
printk(KERN_WARNING "ROSE: unknown %02X in state 3\n", frametype);
/*
* CALL_ACCEPTED (0x0F) and CLEAR_CONFIRMATION (0x17) may show
* up in state 3 as a late or duplicated Call Accepted, or as
* crossed clearing / a reused logical channel on a slow AX.25
* link. These are harmless protocol races, so drop them
* silently. Any other frame type is genuinely unexpected and
* is still reported, rate limited to avoid flooding the log.
*/
if (frametype != ROSE_CALL_ACCEPTED &&
frametype != ROSE_CLEAR_CONFIRMATION)
net_warn_ratelimited("ROSE: unknown %02X in state 3\n",
frametype);
break;
}

Expand Down