From 1a75d29d7a613afbed1d73c88b3f9d6d630b91e1 Mon Sep 17 00:00:00 2001 From: Eldad Zack Date: Sat, 16 Jun 2012 15:14:49 +0200 Subject: [PATCH] --- yaml --- r: 314279 b: refs/heads/master c: 7f95e1880e70bb351b992b01ef70ff083fc00d30 h: refs/heads/master i: 314277: a17616a5776284b9c8174d2077bbfa13324e341d 314275: 717ebb4ae597594903a44fe3a587df8439a702c5 314271: 6e86f442864f084e2a03162f67d2b9e8a6a5b714 v: v3 --- [refs] | 2 +- trunk/include/net/dst.h | 17 ++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/[refs] b/[refs] index 8a60f675e6ea..8a0c12023c53 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: aee289baaa02dd2ffa1189c1600d5572a10e0714 +refs/heads/master: 7f95e1880e70bb351b992b01ef70ff083fc00d30 diff --git a/trunk/include/net/dst.h b/trunk/include/net/dst.h index 8197eadca819..f0bf3b8d5911 100644 --- a/trunk/include/net/dst.h +++ b/trunk/include/net/dst.h @@ -48,8 +48,8 @@ struct dst_entry { #else void *__pad1; #endif - int (*input)(struct sk_buff*); - int (*output)(struct sk_buff*); + int (*input)(struct sk_buff *); + int (*output)(struct sk_buff *); int flags; #define DST_HOST 0x0001 @@ -241,7 +241,7 @@ dst_metric_locked(const struct dst_entry *dst, int metric) return dst_metric(dst, RTAX_LOCK) & (1<lastuse = time; } -static inline -struct dst_entry * dst_clone(struct dst_entry * dst) +static inline struct dst_entry *dst_clone(struct dst_entry *dst) { if (dst) atomic_inc(&dst->__refcnt); @@ -371,12 +370,12 @@ static inline struct dst_entry *skb_dst_pop(struct sk_buff *skb) } extern int dst_discard(struct sk_buff *skb); -extern void *dst_alloc(struct dst_ops * ops, struct net_device *dev, +extern void *dst_alloc(struct dst_ops *ops, struct net_device *dev, int initial_ref, int initial_obsolete, int flags); -extern void __dst_free(struct dst_entry * dst); -extern struct dst_entry *dst_destroy(struct dst_entry * dst); +extern void __dst_free(struct dst_entry *dst); +extern struct dst_entry *dst_destroy(struct dst_entry *dst); -static inline void dst_free(struct dst_entry * dst) +static inline void dst_free(struct dst_entry *dst) { if (dst->obsolete > 1) return;