]> bbs.cooldavid.org Git - net-next-2.6.git/commit
netfilter: nf_nat: use local variable hdrlen
authorChangli Gao <xiaosuo@gmail.com>
Mon, 2 Aug 2010 15:15:30 +0000 (17:15 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 2 Aug 2010 15:15:30 +0000 (17:15 +0200)
commit794dbc1d712e181a9eb8d1ae799ed7c526963a7c
tree920418736aea470df9daa80e83f4733588535b89
parent5c0d2374a16fcb52096df914ee57720987677be5
netfilter: nf_nat: use local variable hdrlen

Use local variable hdrlen instead of ip_hdrlen(skb).

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/nf_nat_core.c