diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-12 14:40:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-12 14:40:34 -0400 |
commit | 589acce53e235055806e81e330af1e8f115bfcc2 (patch) | |
tree | 3a525461f60d5449eb6b95f03e3a7c3f1c25a77b | |
parent | 1efd325fbadc02c1338e0ef676f0a6669b251c7a (diff) | |
parent | f3073ac76755abd63b1d4c3d145f4c15b65b5355 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
smc911x: Fix external PHY detection
e1000: allow VLAN devices to use TSO and CSUM offload
gre: Initialise rtnl_link tunnel parameters properly
ipvs: Add proper dependencies on IP_VS, and fix description header line.
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 5 | ||||
-rw-r--r-- | drivers/net/smc911x.c | 3 | ||||
-rw-r--r-- | net/ipv4/ip_gre.c | 2 | ||||
-rw-r--r-- | net/netfilter/ipvs/Kconfig | 4 |
4 files changed, 11 insertions, 3 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 3bafaede7916..fac82152e4c8 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -1047,6 +1047,11 @@ static int __devinit e1000_probe(struct pci_dev *pdev, | |||
1047 | 1047 | ||
1048 | netdev->features |= NETIF_F_LLTX; | 1048 | netdev->features |= NETIF_F_LLTX; |
1049 | 1049 | ||
1050 | netdev->vlan_features |= NETIF_F_TSO; | ||
1051 | netdev->vlan_features |= NETIF_F_TSO6; | ||
1052 | netdev->vlan_features |= NETIF_F_HW_CSUM; | ||
1053 | netdev->vlan_features |= NETIF_F_SG; | ||
1054 | |||
1050 | adapter->en_mng_pt = e1000_enable_mng_pass_thru(hw); | 1055 | adapter->en_mng_pt = e1000_enable_mng_pass_thru(hw); |
1051 | 1056 | ||
1052 | /* initialize eeprom parameters */ | 1057 | /* initialize eeprom parameters */ |
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 02cc064c2c8b..3d19d00e8eec 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c | |||
@@ -722,6 +722,9 @@ static void smc911x_phy_detect(struct net_device *dev) | |||
722 | break; | 722 | break; |
723 | } | 723 | } |
724 | } | 724 | } |
725 | if (phyaddr < 32) | ||
726 | /* Found an external PHY */ | ||
727 | break; | ||
725 | } | 728 | } |
726 | default: | 729 | default: |
727 | /* Internal media only */ | 730 | /* Internal media only */ |
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index 05ebce2881ef..85c487b8572b 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c | |||
@@ -1345,7 +1345,7 @@ out: | |||
1345 | static void ipgre_netlink_parms(struct nlattr *data[], | 1345 | static void ipgre_netlink_parms(struct nlattr *data[], |
1346 | struct ip_tunnel_parm *parms) | 1346 | struct ip_tunnel_parm *parms) |
1347 | { | 1347 | { |
1348 | memset(parms, 0, sizeof(parms)); | 1348 | memset(parms, 0, sizeof(*parms)); |
1349 | 1349 | ||
1350 | parms->iph.protocol = IPPROTO_GRE; | 1350 | parms->iph.protocol = IPPROTO_GRE; |
1351 | 1351 | ||
diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig index de6004de80bc..05048e403266 100644 --- a/net/netfilter/ipvs/Kconfig +++ b/net/netfilter/ipvs/Kconfig | |||
@@ -2,8 +2,8 @@ | |||
2 | # IP Virtual Server configuration | 2 | # IP Virtual Server configuration |
3 | # | 3 | # |
4 | menuconfig IP_VS | 4 | menuconfig IP_VS |
5 | tristate "IP virtual server support (EXPERIMENTAL)" | 5 | tristate "IP virtual server support" |
6 | depends on NETFILTER | 6 | depends on NET && INET && NETFILTER |
7 | ---help--- | 7 | ---help--- |
8 | IP Virtual Server support will let you build a high-performance | 8 | IP Virtual Server support will let you build a high-performance |
9 | virtual server based on cluster of two or more real servers. This | 9 | virtual server based on cluster of two or more real servers. This |