diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-20 19:24:02 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-20 19:24:02 -0400 |
| commit | ff446f2001cf9b5ed97c6256c4ee3549d3b7abed (patch) | |
| tree | ec5fd60a8b9c21ae85eaa99003f26e6c342e2234 /include/net | |
| parent | 78091dc2f6f04b03131218df590c877cadcd9379 (diff) | |
| parent | 485802a6c524e62b5924849dd727ddbb1497cc71 (diff) | |
Merge 3.5-rc3 into usb-next
This lets us catch the USB fixes that went into 3.5-rc3 into this branch,
as we want them here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/inetpeer.h | 5 | ||||
| -rw-r--r-- | include/net/route.h | 2 | ||||
| -rw-r--r-- | include/net/sch_generic.h | 7 |
3 files changed, 10 insertions, 4 deletions
diff --git a/include/net/inetpeer.h b/include/net/inetpeer.h index b94765e38e80..2040bff945d4 100644 --- a/include/net/inetpeer.h +++ b/include/net/inetpeer.h | |||
| @@ -40,7 +40,10 @@ struct inet_peer { | |||
| 40 | u32 pmtu_orig; | 40 | u32 pmtu_orig; |
| 41 | u32 pmtu_learned; | 41 | u32 pmtu_learned; |
| 42 | struct inetpeer_addr_base redirect_learned; | 42 | struct inetpeer_addr_base redirect_learned; |
| 43 | struct list_head gc_list; | 43 | union { |
| 44 | struct list_head gc_list; | ||
| 45 | struct rcu_head gc_rcu; | ||
| 46 | }; | ||
| 44 | /* | 47 | /* |
| 45 | * Once inet_peer is queued for deletion (refcnt == -1), following fields | 48 | * Once inet_peer is queued for deletion (refcnt == -1), following fields |
| 46 | * are not available: rid, ip_id_count, tcp_ts, tcp_ts_stamp | 49 | * are not available: rid, ip_id_count, tcp_ts, tcp_ts_stamp |
diff --git a/include/net/route.h b/include/net/route.h index ed2b78e2375d..98705468ac03 100644 --- a/include/net/route.h +++ b/include/net/route.h | |||
| @@ -130,9 +130,9 @@ static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, | |||
| 130 | { | 130 | { |
| 131 | struct flowi4 fl4 = { | 131 | struct flowi4 fl4 = { |
| 132 | .flowi4_oif = oif, | 132 | .flowi4_oif = oif, |
| 133 | .flowi4_tos = tos, | ||
| 133 | .daddr = daddr, | 134 | .daddr = daddr, |
| 134 | .saddr = saddr, | 135 | .saddr = saddr, |
| 135 | .flowi4_tos = tos, | ||
| 136 | }; | 136 | }; |
| 137 | return ip_route_output_key(net, &fl4); | 137 | return ip_route_output_key(net, &fl4); |
| 138 | } | 138 | } |
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 55ce96b53b09..9d7d54a00e63 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h | |||
| @@ -220,13 +220,16 @@ struct tcf_proto { | |||
| 220 | 220 | ||
| 221 | struct qdisc_skb_cb { | 221 | struct qdisc_skb_cb { |
| 222 | unsigned int pkt_len; | 222 | unsigned int pkt_len; |
| 223 | unsigned char data[24]; | 223 | u16 bond_queue_mapping; |
| 224 | u16 _pad; | ||
| 225 | unsigned char data[20]; | ||
| 224 | }; | 226 | }; |
| 225 | 227 | ||
| 226 | static inline void qdisc_cb_private_validate(const struct sk_buff *skb, int sz) | 228 | static inline void qdisc_cb_private_validate(const struct sk_buff *skb, int sz) |
| 227 | { | 229 | { |
| 228 | struct qdisc_skb_cb *qcb; | 230 | struct qdisc_skb_cb *qcb; |
| 229 | BUILD_BUG_ON(sizeof(skb->cb) < sizeof(unsigned int) + sz); | 231 | |
| 232 | BUILD_BUG_ON(sizeof(skb->cb) < offsetof(struct qdisc_skb_cb, data) + sz); | ||
| 230 | BUILD_BUG_ON(sizeof(qcb->data) < sz); | 233 | BUILD_BUG_ON(sizeof(qcb->data) < sz); |
| 231 | } | 234 | } |
| 232 | 235 | ||
