Commit 62d797b3 authored by Bob Miller's avatar Bob Miller Committed by James Morris

[NETFILTER]: Delete un-used stack variable in ip_nat_helper.c

parent aea51d64
...@@ -84,7 +84,6 @@ ip_nat_resize_packet(struct sk_buff **skb, ...@@ -84,7 +84,6 @@ ip_nat_resize_packet(struct sk_buff **skb,
iph = (*skb)->nh.iph; iph = (*skb)->nh.iph;
if (iph->protocol == IPPROTO_TCP) { if (iph->protocol == IPPROTO_TCP) {
struct tcphdr *tcph = (void *)iph + iph->ihl*4; struct tcphdr *tcph = (void *)iph + iph->ihl*4;
void *data = (void *)tcph + tcph->doff*4;
DEBUGP("ip_nat_resize_packet: Seq_offset before: "); DEBUGP("ip_nat_resize_packet: Seq_offset before: ");
DUMP_OFFSET(this_way); DUMP_OFFSET(this_way);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment