Skip to content
Snippets Groups Projects
Commit 58fdea0f authored by Gerrit Renker's avatar Gerrit Renker
Browse files

dccp ccid-2: Use existing function to test for data packets


This replaces a switch statement with a test, using the equivalent
function dccp_data_packet(skb).  It also doubles the range of the field
`rx_num_data_pkts' by changing the type from `int' to `u32', avoiding
signed/unsigned comparison with the u16 field `dccps_r_ack_ratio'.

Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
parent b4d5f4b2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment