diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-07-23 13:27:08 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-07-23 13:27:08 +0200 |
commit | c36952e524b2b898a3c9e9b137f64d72d43cd393 (patch) | |
tree | 6fdc6d67bd40c0cff79e49e8a3e6423354503180 /drivers/vhost/net.c | |
parent | e8648a1fdb54da1f683784b36a17aa65ea56e931 (diff) | |
download | kernel_samsung_smdk4412-c36952e524b2b898a3c9e9b137f64d72d43cd393.zip kernel_samsung_smdk4412-c36952e524b2b898a3c9e9b137f64d72d43cd393.tar.gz kernel_samsung_smdk4412-c36952e524b2b898a3c9e9b137f64d72d43cd393.tar.bz2 |
netfilter: nf_nat_core: merge the same lines
proto->unique_tuple() will be called finally, if the previous calls fail. This
patch checks the false condition of (range->flags &IP_NAT_RANGE_PROTO_RANDOM)
instead to avoid duplicate line of code: proto->unique_tuple().
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'drivers/vhost/net.c')
0 files changed, 0 insertions, 0 deletions