aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-11-20 18:35:04 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-20 18:35:04 -0500
commit8964be4a9a5ca8cab1219bb046db2f6d1936227c (patch)
tree8838c73a03cc69c010b55928fce3725d17bc26a9 /net/core
parentfa9a6fed87df1b50804405e700f8d30251d3aaf1 (diff)
net: rename skb->iif to skb->skb_iif
To help grep games, rename iif to skb_iif Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c6
-rw-r--r--net/core/skbuff.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 9977288583b8..09f3d6b9c0c8 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2287,7 +2287,7 @@ static int ing_filter(struct sk_buff *skb)
2287 if (MAX_RED_LOOP < ttl++) { 2287 if (MAX_RED_LOOP < ttl++) {
2288 printk(KERN_WARNING 2288 printk(KERN_WARNING
2289 "Redir loop detected Dropping packet (%d->%d)\n", 2289 "Redir loop detected Dropping packet (%d->%d)\n",
2290 skb->iif, dev->ifindex); 2290 skb->skb_iif, dev->ifindex);
2291 return TC_ACT_SHOT; 2291 return TC_ACT_SHOT;
2292 } 2292 }
2293 2293
@@ -2395,8 +2395,8 @@ int netif_receive_skb(struct sk_buff *skb)
2395 if (netpoll_receive_skb(skb)) 2395 if (netpoll_receive_skb(skb))
2396 return NET_RX_DROP; 2396 return NET_RX_DROP;
2397 2397
2398 if (!skb->iif) 2398 if (!skb->skb_iif)
2399 skb->iif = skb->dev->ifindex; 2399 skb->skb_iif = skb->dev->ifindex;
2400 2400
2401 null_or_orig = NULL; 2401 null_or_orig = NULL;
2402 orig_dev = skb->dev; 2402 orig_dev = skb->dev;
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 739b8f4dd327..bfa3e7865a8c 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -549,7 +549,7 @@ static void __copy_skb_header(struct sk_buff *new, const struct sk_buff *old)
549#endif 549#endif
550 new->protocol = old->protocol; 550 new->protocol = old->protocol;
551 new->mark = old->mark; 551 new->mark = old->mark;
552 new->iif = old->iif; 552 new->skb_iif = old->skb_iif;
553 __nf_copy(new, old); 553 __nf_copy(new, old);
554#if defined(CONFIG_NETFILTER_XT_TARGET_TRACE) || \ 554#if defined(CONFIG_NETFILTER_XT_TARGET_TRACE) || \
555 defined(CONFIG_NETFILTER_XT_TARGET_TRACE_MODULE) 555 defined(CONFIG_NETFILTER_XT_TARGET_TRACE_MODULE)