diff options
Diffstat (limited to 'net/decnet')
-rw-r--r-- | net/decnet/dn_route.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index e9c4e2e864c6..47de90d8fe94 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c | |||
@@ -117,8 +117,10 @@ static void dn_dst_destroy(struct dst_entry *); | |||
117 | static void dn_dst_ifdown(struct dst_entry *, struct net_device *dev, int how); | 117 | static void dn_dst_ifdown(struct dst_entry *, struct net_device *dev, int how); |
118 | static struct dst_entry *dn_dst_negative_advice(struct dst_entry *); | 118 | static struct dst_entry *dn_dst_negative_advice(struct dst_entry *); |
119 | static void dn_dst_link_failure(struct sk_buff *); | 119 | static void dn_dst_link_failure(struct sk_buff *); |
120 | static void dn_dst_update_pmtu(struct dst_entry *dst, u32 mtu); | 120 | static void dn_dst_update_pmtu(struct dst_entry *dst, struct sock *sk, |
121 | static void dn_dst_redirect(struct dst_entry *dst, struct sk_buff *skb); | 121 | struct sk_buff *skb , u32 mtu); |
122 | static void dn_dst_redirect(struct dst_entry *dst, struct sock *sk, | ||
123 | struct sk_buff *skb); | ||
122 | static struct neighbour *dn_dst_neigh_lookup(const struct dst_entry *dst, | 124 | static struct neighbour *dn_dst_neigh_lookup(const struct dst_entry *dst, |
123 | struct sk_buff *skb, | 125 | struct sk_buff *skb, |
124 | const void *daddr); | 126 | const void *daddr); |
@@ -266,7 +268,8 @@ static int dn_dst_gc(struct dst_ops *ops) | |||
266 | * We update both the mtu and the advertised mss (i.e. the segment size we | 268 | * We update both the mtu and the advertised mss (i.e. the segment size we |
267 | * advertise to the other end). | 269 | * advertise to the other end). |
268 | */ | 270 | */ |
269 | static void dn_dst_update_pmtu(struct dst_entry *dst, u32 mtu) | 271 | static void dn_dst_update_pmtu(struct dst_entry *dst, struct sock *sk, |
272 | struct sk_buff *skb, u32 mtu) | ||
270 | { | 273 | { |
271 | struct dn_route *rt = (struct dn_route *) dst; | 274 | struct dn_route *rt = (struct dn_route *) dst; |
272 | struct neighbour *n = rt->n; | 275 | struct neighbour *n = rt->n; |
@@ -294,7 +297,8 @@ static void dn_dst_update_pmtu(struct dst_entry *dst, u32 mtu) | |||
294 | } | 297 | } |
295 | } | 298 | } |
296 | 299 | ||
297 | static void dn_dst_redirect(struct dst_entry *dst, struct sk_buff *skb) | 300 | static void dn_dst_redirect(struct dst_entry *dst, struct sock *sk, |
301 | struct sk_buff *skb) | ||
298 | { | 302 | { |
299 | } | 303 | } |
300 | 304 | ||