inet: frags: use INET_FRAG_EVICTED to prevent icmp messages
authorNikolay Aleksandrov <nikolay@redhat.com>
Fri, 1 Aug 2014 10:29:47 +0000 (12:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Aug 2014 22:31:31 +0000 (15:31 -0700)
commit2e404f632f44979ddf0ce0808a438249a72d7015
treead03dac0a0596292475d7ac25b99c79a3499ee0d
parentf926e23660d52601089222cb4755aabc693ca390
inet: frags: use INET_FRAG_EVICTED to prevent icmp messages

Now that we have INET_FRAG_EVICTED we might as well use it to stop
sending icmp messages in the "frag_expire" functions instead of
stripping INET_FRAG_FIRST_IN from their flags when evicting.
Also fix the comment style in ip6_expire_frag_queue().

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_fragment.c
net/ipv4/ip_fragment.c
net/ipv6/reassembly.c