Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48277
b: refs/heads/master
c: bbf4a6b
h: refs/heads/master
i:
  48275: 8b1692a
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Feb 13, 2007
1 parent 879e1df commit 0a420f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 65610fbab35b0570df4a9d0e77e111f85606b312
refs/heads/master: bbf4a6bc8c4d59a0a9033fc2cb96ec03430c96e4
4 changes: 4 additions & 0 deletions trunk/net/ipv4/netfilter/ipt_REJECT.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ static void send_reset(struct sk_buff *oldskb, int hook)
nskb->mark = 0;
skb_init_secmark(nskb);

skb_shinfo(nskb)->gso_size = 0;
skb_shinfo(nskb)->gso_segs = 0;
skb_shinfo(nskb)->gso_type = 0;

tcph = (struct tcphdr *)((u_int32_t*)nskb->nh.iph + nskb->nh.iph->ihl);

/* Swap source and dest */
Expand Down

0 comments on commit 0a420f2

Please sign in to comment.