Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ad643a793bfb933e1b9e37ad4a5edf389ae160ea
Commit:     ad643a793bfb933e1b9e37ad4a5edf389ae160ea
Parent:     9c2842bd94dd72d77bddb498bdd76342a0089168
Author:     Patrick McHardy <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 15 01:51:38 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Oct 15 12:26:36 2007 -0700

    [IPV6]: Uninline netfilter okfns
    
    Uninline netfilter okfns for those cases where gcc can generate tail-calls.
    
    Before:
       text    data     bss     dec     hex filename
    8994153 1016524  524652 10535329         a0c1a1 vmlinux
    
    After:
       text    data     bss     dec     hex filename
    8992761 1016524  524652 10533937         a0bc31 vmlinux
    -------------------------------------------------------
      -1392
    
    All cases have been verified to generate tail-calls with and without 
netfilter.
    
    Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/ipv6/ip6_input.c  |    2 +-
 net/ipv6/ip6_output.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv6/ip6_input.c b/net/ipv6/ip6_input.c
index 9149fc2..e7c8506 100644
--- a/net/ipv6/ip6_input.c
+++ b/net/ipv6/ip6_input.c
@@ -149,7 +149,7 @@ out:
  */
 
 
-static inline int ip6_input_finish(struct sk_buff *skb)
+static int ip6_input_finish(struct sk_buff *skb)
 {
        struct inet6_protocol *ipprot;
        struct sock *raw_sk;
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 011082e..13565df 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -70,7 +70,7 @@ static __inline__ void ipv6_select_ident(struct sk_buff *skb, 
struct frag_hdr *f
        spin_unlock_bh(&ip6_id_lock);
 }
 
-static inline int ip6_output_finish(struct sk_buff *skb)
+static int ip6_output_finish(struct sk_buff *skb)
 {
        struct dst_entry *dst = skb->dst;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to