summaryrefslogtreecommitdiffstats
path: root/net/sched/act_nat.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2011-07-03 09:53:12 -0600
committerGerrit Renker <gerrit@erg.abdn.ac.uk>2011-07-04 12:37:40 -0600
commit58fdea0f3170c13a3b875ef904d5b67cf73814be (patch)
tree9cdaa4c22734531b21479dc594dadf6ffbcd36d4 /net/sched/act_nat.c
parentb4d5f4b2884625d13c7ef5b9fd085ec93bbf545c (diff)
downloadlinux-58fdea0f3170c13a3b875ef904d5b67cf73814be.tar.bz2
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: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'net/sched/act_nat.c')
0 files changed, 0 insertions, 0 deletions