| Submitter | stephen hemminger |
|---|---|
| Date | Oct. 1, 2010, 11:58 p.m. |
| Message ID | <20101002085800.4cd06561@s6510> |
| Download | mbox | patch |
| Permalink | /patch/66529/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
From: Stephen Hemminger <shemminger@vyatta.com> Date: Sat, 2 Oct 2010 08:58:00 +0900 > This table is only used in gre.c > > Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
--- a/net/ipv4/gre.c 2010-09-29 10:41:46.895895032 +0900 +++ b/net/ipv4/gre.c 2010-09-29 10:41:56.265898132 +0900 @@ -22,7 +22,7 @@ #include <net/gre.h> -const struct gre_protocol *gre_proto[GREPROTO_MAX] __read_mostly; +static const struct gre_protocol *gre_proto[GREPROTO_MAX] __read_mostly; static DEFINE_SPINLOCK(gre_proto_lock); int gre_add_protocol(const struct gre_protocol *proto, u8 version)
This table is only used in gre.c Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> [ -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html