ipv4: Add ip_defrag() agent IP_DEFRAG_AF_PACKET.
Elide the ICMP on frag queue timeouts unconditionally for this user. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dc99f60069
commit
595fc71baa
2 changed files with 5 additions and 3 deletions
|
@ -261,8 +261,9 @@ static void ip_expire(unsigned long arg)
|
|||
* Only an end host needs to send an ICMP
|
||||
* "Fragment Reassembly Timeout" message, per RFC792.
|
||||
*/
|
||||
if (qp->user == IP_DEFRAG_CONNTRACK_IN &&
|
||||
skb_rtable(head)->rt_type != RTN_LOCAL)
|
||||
if (qp->user == IP_DEFRAG_AF_PACKET ||
|
||||
(qp->user == IP_DEFRAG_CONNTRACK_IN &&
|
||||
skb_rtable(head)->rt_type != RTN_LOCAL))
|
||||
goto out_rcu_unlock;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue