aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-04-20 01:39:42 -0400
committerDavid S. Miller <davem@davemloft.net>2005-04-20 01:39:42 -0400
commit9c2b3328f74800bb370d08bb3a4255d5fe833e94 (patch)
tree9d3092a44b592a091c4818a20bd678d1191f7a88 /net/ipv4/route.c
parent98f245e797a01611d6734c7d192240f1361439d3 (diff)
[NET]: skbuff: remove old NET_CALLER macro
Here is a revised alternative that uses BUG_ON/WARN_ON (as suggested by Herbert Xu) to eliminate NET_CALLER. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 9f91a116d919..bb90a0c3a91e 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -1048,7 +1048,8 @@ void __ip_select_ident(struct iphdr *iph, struct dst_entry *dst, int more)
1048 return; 1048 return;
1049 } 1049 }
1050 } else 1050 } else
1051 printk(KERN_DEBUG "rt_bind_peer(0) @%p\n", NET_CALLER(iph)); 1051 printk(KERN_DEBUG "rt_bind_peer(0) @%p\n",
1052 __builtin_return_address(0));
1052 1053
1053 ip_select_fb_ident(iph); 1054 ip_select_fb_ident(iph);
1054} 1055}