diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-16 19:29:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-16 19:29:25 -0400 |
commit | 7a6362800cb7d1d618a697a650c7aaed3eb39320 (patch) | |
tree | 087f9bc6c13ef1fad4b392c5cf9325cd28fa8523 /drivers/scsi/cxgbi | |
parent | 6445ced8670f37cfc2c5e24a9de9b413dbfc788d (diff) | |
parent | ceda86a108671294052cbf51660097b6534672f5 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1480 commits)
bonding: enable netpoll without checking link status
xfrm: Refcount destination entry on xfrm_lookup
net: introduce rx_handler results and logic around that
bonding: get rid of IFF_SLAVE_INACTIVE netdev->priv_flag
bonding: wrap slave state work
net: get rid of multiple bond-related netdevice->priv_flags
bonding: register slave pointer for rx_handler
be2net: Bump up the version number
be2net: Copyright notice change. Update to Emulex instead of ServerEngines
e1000e: fix kconfig for crc32 dependency
netfilter ebtables: fix xt_AUDIT to work with ebtables
xen network backend driver
bonding: Improve syslog message at device creation time
bonding: Call netif_carrier_off after register_netdevice
bonding: Incorrect TX queue offset
net_sched: fix ip_tos2prio
xfrm: fix __xfrm_route_forward()
be2net: Fix UDP packet detected status in RX compl
Phonet: fix aligned-mode pipe socket buffer header reserve
netxen: support for GbE port settings
...
Fix up conflicts in drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
with the staging updates.
Diffstat (limited to 'drivers/scsi/cxgbi')
-rw-r--r-- | drivers/scsi/cxgbi/cxgb3i/Kconfig | 4 | ||||
-rw-r--r-- | drivers/scsi/cxgbi/cxgb4i/Kconfig | 4 | ||||
-rw-r--r-- | drivers/scsi/cxgbi/libcxgbi.c | 21 |
3 files changed, 10 insertions, 19 deletions
diff --git a/drivers/scsi/cxgbi/cxgb3i/Kconfig b/drivers/scsi/cxgbi/cxgb3i/Kconfig index 5cf4e9831f1b..11dff23f7838 100644 --- a/drivers/scsi/cxgbi/cxgb3i/Kconfig +++ b/drivers/scsi/cxgbi/cxgb3i/Kconfig | |||
@@ -1,6 +1,8 @@ | |||
1 | config SCSI_CXGB3_ISCSI | 1 | config SCSI_CXGB3_ISCSI |
2 | tristate "Chelsio T3 iSCSI support" | 2 | tristate "Chelsio T3 iSCSI support" |
3 | depends on CHELSIO_T3_DEPENDS | 3 | depends on PCI && INET |
4 | select NETDEVICES | ||
5 | select NETDEV_10000 | ||
4 | select CHELSIO_T3 | 6 | select CHELSIO_T3 |
5 | select SCSI_ISCSI_ATTRS | 7 | select SCSI_ISCSI_ATTRS |
6 | ---help--- | 8 | ---help--- |
diff --git a/drivers/scsi/cxgbi/cxgb4i/Kconfig b/drivers/scsi/cxgbi/cxgb4i/Kconfig index bb94b39b17b3..d5302c27f377 100644 --- a/drivers/scsi/cxgbi/cxgb4i/Kconfig +++ b/drivers/scsi/cxgbi/cxgb4i/Kconfig | |||
@@ -1,6 +1,8 @@ | |||
1 | config SCSI_CXGB4_ISCSI | 1 | config SCSI_CXGB4_ISCSI |
2 | tristate "Chelsio T4 iSCSI support" | 2 | tristate "Chelsio T4 iSCSI support" |
3 | depends on CHELSIO_T4_DEPENDS | 3 | depends on PCI && INET |
4 | select NETDEVICES | ||
5 | select NETDEV_10000 | ||
4 | select CHELSIO_T4 | 6 | select CHELSIO_T4 |
5 | select SCSI_ISCSI_ATTRS | 7 | select SCSI_ISCSI_ATTRS |
6 | ---help--- | 8 | ---help--- |
diff --git a/drivers/scsi/cxgbi/libcxgbi.c b/drivers/scsi/cxgbi/libcxgbi.c index d2ad3d676724..a24dff9f9163 100644 --- a/drivers/scsi/cxgbi/libcxgbi.c +++ b/drivers/scsi/cxgbi/libcxgbi.c | |||
@@ -451,26 +451,13 @@ static struct cxgbi_sock *cxgbi_sock_create(struct cxgbi_device *cdev) | |||
451 | } | 451 | } |
452 | 452 | ||
453 | static struct rtable *find_route_ipv4(__be32 saddr, __be32 daddr, | 453 | static struct rtable *find_route_ipv4(__be32 saddr, __be32 daddr, |
454 | __be16 sport, __be16 dport, u8 tos) | 454 | __be16 sport, __be16 dport, u8 tos) |
455 | { | 455 | { |
456 | struct rtable *rt; | 456 | struct rtable *rt; |
457 | struct flowi fl = { | ||
458 | .oif = 0, | ||
459 | .nl_u = { | ||
460 | .ip4_u = { | ||
461 | .daddr = daddr, | ||
462 | .saddr = saddr, | ||
463 | .tos = tos } | ||
464 | }, | ||
465 | .proto = IPPROTO_TCP, | ||
466 | .uli_u = { | ||
467 | .ports = { | ||
468 | .sport = sport, | ||
469 | .dport = dport } | ||
470 | } | ||
471 | }; | ||
472 | 457 | ||
473 | if (ip_route_output_flow(&init_net, &rt, &fl, NULL, 0)) | 458 | rt = ip_route_output_ports(&init_net, NULL, daddr, saddr, |
459 | dport, sport, IPPROTO_TCP, tos, 0); | ||
460 | if (IS_ERR(rt)) | ||
474 | return NULL; | 461 | return NULL; |
475 | 462 | ||
476 | return rt; | 463 | return rt; |