Commit:     fea1ab0fcf117bc1e9c9285af6463d31d9cc0ac6
Parent:     8aeca8fea5f2de2563e097829d62af30ca2de650
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 30 18:04:09 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Jul 31 02:28:25 2007 -0700

    [PKTGEN]: make get_ipsec_sa() static and non-inline
    Non-static inline code usually doesn't makes sense.
    In this case making is static and non-inline is the correct solution.
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/core/pktgen.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index be985f0..7bae576 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -2159,8 +2159,7 @@ static inline int f_pick(struct pktgen_dev *pkt_dev)
 /* If there was already an IPSEC SA, we keep it as is, else
  * we go look for it ...
-void get_ipsec_sa(struct pktgen_dev *pkt_dev, int flow)
+static void get_ipsec_sa(struct pktgen_dev *pkt_dev, int flow)
        struct xfrm_state *x = pkt_dev->flows[flow].x;
        if (!x) {
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

Reply via email to