netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch net-next] ipv6: remove duplicated declaration of ip6_fragment()
@ 2013-01-23  3:22 Cong Wang
  2013-01-23  4:22 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Cong Wang @ 2013-01-23  3:22 UTC (permalink / raw)
  To: netdev; +Cc: YOSHIFUJI Hideaki, David S. Miller, Cong Wang

From: Cong Wang <amwang@redhat.com>

It is declared in:
include/net/ip6_route.h:187:int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *));

and net/ip6_route.h is already included.

Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>

---
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 7eee94c..7dea45a 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -56,8 +56,6 @@
 #include <net/checksum.h>
 #include <linux/mroute6.h>
 
-int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *));
-
 int __ip6_local_out(struct sk_buff *skb)
 {
 	int len;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch net-next] ipv6: remove duplicated declaration of ip6_fragment()
  2013-01-23  3:22 [Patch net-next] ipv6: remove duplicated declaration of ip6_fragment() Cong Wang
@ 2013-01-23  4:22 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-01-23  4:22 UTC (permalink / raw)
  To: amwang; +Cc: netdev, yoshfuji

From: Cong Wang <amwang@redhat.com>
Date: Wed, 23 Jan 2013 11:22:07 +0800

> From: Cong Wang <amwang@redhat.com>
> 
> It is declared in:
> include/net/ip6_route.h:187:int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *));
> 
> and net/ip6_route.h is already included.
> 
> Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
> Cc: David S. Miller <davem@davemloft.net>
> Signed-off-by: Cong Wang <amwang@redhat.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-23  4:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23  3:22 [Patch net-next] ipv6: remove duplicated declaration of ip6_fragment() Cong Wang
2013-01-23  4:22 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).