aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
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')
-rw-r--r--net/core/dev.c6
-rw-r--r--net/core/skbuff.c2
-rw-r--r--net/netlabel/netlabel_unlabeled.c2
-rw-r--r--net/sched/act_mirred.c2
-rw-r--r--net/sched/cls_flow.c2
5 files changed, 7 insertions, 7 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)
diff --git a/net/netlabel/netlabel_unlabeled.c b/net/netlabel/netlabel_unlabeled.c
index 3dfe2bac8623..98ed22ee2ff4 100644
--- a/net/netlabel/netlabel_unlabeled.c
+++ b/net/netlabel/netlabel_unlabeled.c
@@ -1550,7 +1550,7 @@ int netlbl_unlabel_getattr(const struct sk_buff *skb,
1550 struct netlbl_unlhsh_iface *iface; 1550 struct netlbl_unlhsh_iface *iface;
1551 1551
1552 rcu_read_lock(); 1552 rcu_read_lock();
1553 iface = netlbl_unlhsh_search_iface_def(skb->iif); 1553 iface = netlbl_unlhsh_search_iface_def(skb->skb_iif);
1554 if (iface == NULL) 1554 if (iface == NULL)
1555 goto unlabel_getattr_nolabel; 1555 goto unlabel_getattr_nolabel;
1556 switch (family) { 1556 switch (family) {
diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c
index 797479369881..d329170243cb 100644
--- a/net/sched/act_mirred.c
+++ b/net/sched/act_mirred.c
@@ -185,7 +185,7 @@ static int tcf_mirred(struct sk_buff *skb, struct tc_action *a,
185 skb2->tc_verd = SET_TC_FROM(skb2->tc_verd, at); 185 skb2->tc_verd = SET_TC_FROM(skb2->tc_verd, at);
186 186
187 skb2->dev = dev; 187 skb2->dev = dev;
188 skb2->iif = skb->dev->ifindex; 188 skb2->skb_iif = skb->dev->ifindex;
189 dev_queue_xmit(skb2); 189 dev_queue_xmit(skb2);
190 err = 0; 190 err = 0;
191 191
diff --git a/net/sched/cls_flow.c b/net/sched/cls_flow.c
index 9402a7fd3785..e054c62857e1 100644
--- a/net/sched/cls_flow.c
+++ b/net/sched/cls_flow.c
@@ -171,7 +171,7 @@ static u32 flow_get_proto_dst(const struct sk_buff *skb)
171 171
172static u32 flow_get_iif(const struct sk_buff *skb) 172static u32 flow_get_iif(const struct sk_buff *skb)
173{ 173{
174 return skb->iif; 174 return skb->skb_iif;
175} 175}
176 176
177static u32 flow_get_priority(const struct sk_buff *skb) 177static u32 flow_get_priority(const struct sk_buff *skb)