Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
@@ -464,6 +464,8 @@ struct hci_conn_params {
|
||||
HCI_AUTO_CONN_ALWAYS,
|
||||
HCI_AUTO_CONN_LINK_LOSS,
|
||||
} auto_connect;
|
||||
|
||||
struct hci_conn *conn;
|
||||
};
|
||||
|
||||
extern struct list_head hci_dev_list;
|
||||
|
||||
@@ -16,7 +16,6 @@ struct netns_sysctl_lowpan {
|
||||
struct netns_ieee802154_lowpan {
|
||||
struct netns_sysctl_lowpan sysctl;
|
||||
struct netns_frags frags;
|
||||
int max_dsize;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -167,7 +167,7 @@ struct ieee80211_reg_rule {
|
||||
struct ieee80211_regdomain {
|
||||
struct rcu_head rcu_head;
|
||||
u32 n_reg_rules;
|
||||
char alpha2[2];
|
||||
char alpha2[3];
|
||||
enum nl80211_dfs_regions dfs_region;
|
||||
struct ieee80211_reg_rule reg_rules[];
|
||||
};
|
||||
|
||||
@@ -320,6 +320,19 @@ static inline sctp_assoc_t sctp_assoc2id(const struct sctp_association *asoc)
|
||||
return asoc ? asoc->assoc_id : 0;
|
||||
}
|
||||
|
||||
static inline enum sctp_sstat_state
|
||||
sctp_assoc_to_state(const struct sctp_association *asoc)
|
||||
{
|
||||
/* SCTP's uapi always had SCTP_EMPTY(=0) as a dummy state, but we
|
||||
* got rid of it in kernel space. Therefore SCTP_CLOSED et al
|
||||
* start at =1 in user space, but actually as =0 in kernel space.
|
||||
* Now that we can not break user space and SCTP_EMPTY is exposed
|
||||
* there, we need to fix it up with an ugly offset not to break
|
||||
* applications. :(
|
||||
*/
|
||||
return asoc->state + 1;
|
||||
}
|
||||
|
||||
/* Look up the association by its id. */
|
||||
struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id);
|
||||
|
||||
|
||||
+1
-3
@@ -2171,9 +2171,7 @@ sock_recv_timestamp(struct msghdr *msg, struct sock *sk, struct sk_buff *skb)
|
||||
*/
|
||||
if (sock_flag(sk, SOCK_RCVTSTAMP) ||
|
||||
(sk->sk_tsflags & SOF_TIMESTAMPING_RX_SOFTWARE) ||
|
||||
(kt.tv64 &&
|
||||
(sk->sk_tsflags & SOF_TIMESTAMPING_SOFTWARE ||
|
||||
skb_shinfo(skb)->tx_flags & SKBTX_ANY_SW_TSTAMP)) ||
|
||||
(kt.tv64 && sk->sk_tsflags & SOF_TIMESTAMPING_SOFTWARE) ||
|
||||
(hwtstamps->hwtstamp.tv64 &&
|
||||
(sk->sk_tsflags & SOF_TIMESTAMPING_RAW_HARDWARE)))
|
||||
__sock_recv_timestamp(msg, sk, skb);
|
||||
|
||||
+1
-1
@@ -290,7 +290,7 @@ struct wimax_dev;
|
||||
* This operation has to be synchronous, and return only when the
|
||||
* reset is complete. In case of having had to resort to bus/cold
|
||||
* reset implying a device disconnection, the call is allowed to
|
||||
* return inmediately.
|
||||
* return immediately.
|
||||
* NOTE: wimax_dev->mutex is NOT locked when this op is being
|
||||
* called; however, wimax_dev->mutex_reset IS locked to ensure
|
||||
* serialization of calls to wimax_reset().
|
||||
|
||||
Reference in New Issue
Block a user