Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256127
b: refs/heads/master
c: 595fc71
h: refs/heads/master
i:
  256125: 959b091
  256123: 03b28da
  256119: 9d3d6a3
  256111: e4a5d90
  256095: 4108992
  256063: eb2b2bd
  255999: 8b6a99d
v: v3
  • Loading branch information
David S. Miller committed Jul 6, 2011
1 parent 761c89c commit 1707a06
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc99f600698dcac69b8f56dda9a8a00d645c5ffc
refs/heads/master: 595fc71baa1e80420fe89a400ff2d9cc099d22fc
3 changes: 2 additions & 1 deletion trunk/include/net/ip.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ enum ip_defrag_users {
__IP_DEFRAG_CONNTRACK_BRIDGE_IN = IP_DEFRAG_CONNTRACK_BRIDGE_IN + USHRT_MAX,
IP_DEFRAG_VS_IN,
IP_DEFRAG_VS_OUT,
IP_DEFRAG_VS_FWD
IP_DEFRAG_VS_FWD,
IP_DEFRAG_AF_PACKET,
};

int ip_defrag(struct sk_buff *skb, u32 user);
Expand Down
5 changes: 3 additions & 2 deletions trunk/net/ipv4/ip_fragment.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand Down

0 comments on commit 1707a06

Please sign in to comment.