summaryrefslogtreecommitdiffstats
path: root/net/mac802154/monitor.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2012-08-27 06:30:01 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-31 16:22:50 -0400
commit98d75c3724f9b37cdfdb85f821e10edcb743959e (patch)
tree1d5d9697fb34a5d2968fee815cdcc0de6f029576 /net/mac802154/monitor.c
parent4a2c240691bfdb9b08e680fb8af3f8c011c60e02 (diff)
downloadtalos-obmc-linux-98d75c3724f9b37cdfdb85f821e10edcb743959e.tar.gz
talos-obmc-linux-98d75c3724f9b37cdfdb85f821e10edcb743959e.zip
ipv4: Minor logic clean-up in ipv4_mtu
In ipv4_mtu there is some logic where we are testing for a non-zero value and a timer expiration, then setting the value to zero, and then testing if the value is zero we set it to a value based on the dst. Instead of bothering with the extra steps it is easier to just cleanup the logic so that we set it to the dst based value if it is zero or if the timer has expired. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Diffstat (limited to 'net/mac802154/monitor.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud