diff options
| author | David S. Miller <davem@davemloft.net> | 2011-04-04 13:39:12 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2011-04-04 13:39:12 -0400 |
| commit | 083dd8b8aacfcb62d65fb53ec744090879dd8150 (patch) | |
| tree | d48017ad6caa13f5a31c23186b16c36a84776c49 /include | |
| parent | 95b8fbada76d978ce13a26785f8b85ff54478bb2 (diff) | |
| parent | a14b289d4614bb3b25d0455d68f72f3c7b4cc8e8 (diff) | |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/netdevice.h | 4 | ||||
| -rw-r--r-- | include/linux/usb/usbnet.h | 2 | ||||
| -rw-r--r-- | include/net/bluetooth/hci.h | 2 | ||||
| -rw-r--r-- | include/net/sctp/structs.h | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 423a5447d2ed..a4664cc68e2b 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -2599,8 +2599,8 @@ static inline int dev_ethtool_get_settings(struct net_device *dev, | |||
| 2599 | 2599 | ||
| 2600 | static inline u32 dev_ethtool_get_rx_csum(struct net_device *dev) | 2600 | static inline u32 dev_ethtool_get_rx_csum(struct net_device *dev) |
| 2601 | { | 2601 | { |
| 2602 | if (dev->hw_features & NETIF_F_RXCSUM) | 2602 | if (dev->features & NETIF_F_RXCSUM) |
| 2603 | return !!(dev->features & NETIF_F_RXCSUM); | 2603 | return 1; |
| 2604 | if (!dev->ethtool_ops || !dev->ethtool_ops->get_rx_csum) | 2604 | if (!dev->ethtool_ops || !dev->ethtool_ops->get_rx_csum) |
| 2605 | return 0; | 2605 | return 0; |
| 2606 | return dev->ethtool_ops->get_rx_csum(dev); | 2606 | return dev->ethtool_ops->get_rx_csum(dev); |
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index 201f2228f731..3c7329b8ea0e 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h | |||
| @@ -97,6 +97,8 @@ struct driver_info { | |||
| 97 | 97 | ||
| 98 | #define FLAG_LINK_INTR 0x0800 /* updates link (carrier) status */ | 98 | #define FLAG_LINK_INTR 0x0800 /* updates link (carrier) status */ |
| 99 | 99 | ||
| 100 | #define FLAG_POINTTOPOINT 0x1000 /* possibly use "usb%d" names */ | ||
| 101 | |||
| 100 | /* | 102 | /* |
| 101 | * Indicates to usbnet, that USB driver accumulates multiple IP packets. | 103 | * Indicates to usbnet, that USB driver accumulates multiple IP packets. |
| 102 | * Affects statistic (counters) and short packet handling. | 104 | * Affects statistic (counters) and short packet handling. |
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index ec6acf2f1c0b..2c0d309c7381 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
| @@ -84,6 +84,8 @@ enum { | |||
| 84 | HCI_SERVICE_CACHE, | 84 | HCI_SERVICE_CACHE, |
| 85 | HCI_LINK_KEYS, | 85 | HCI_LINK_KEYS, |
| 86 | HCI_DEBUG_KEYS, | 86 | HCI_DEBUG_KEYS, |
| 87 | |||
| 88 | HCI_RESET, | ||
| 87 | }; | 89 | }; |
| 88 | 90 | ||
| 89 | /* HCI ioctl defines */ | 91 | /* HCI ioctl defines */ |
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index cc9185ca8fd1..0f6e60a9c308 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
| @@ -422,7 +422,7 @@ struct sctp_cookie { | |||
| 422 | __u32 adaptation_ind; | 422 | __u32 adaptation_ind; |
| 423 | 423 | ||
| 424 | __u8 auth_random[sizeof(sctp_paramhdr_t) + SCTP_AUTH_RANDOM_LENGTH]; | 424 | __u8 auth_random[sizeof(sctp_paramhdr_t) + SCTP_AUTH_RANDOM_LENGTH]; |
| 425 | __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS + 2]; | 425 | __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS * sizeof(__u16) + 2]; |
| 426 | __u8 auth_chunks[sizeof(sctp_paramhdr_t) + SCTP_AUTH_MAX_CHUNKS]; | 426 | __u8 auth_chunks[sizeof(sctp_paramhdr_t) + SCTP_AUTH_MAX_CHUNKS]; |
| 427 | 427 | ||
| 428 | /* This is a shim for my peer's INIT packet, followed by | 428 | /* This is a shim for my peer's INIT packet, followed by |
