diff options
author | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-11-03 10:11:27 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-11-03 10:11:27 -0400 |
commit | 8f987768eb99631374f4ab0bb19cd062baf1397d (patch) | |
tree | b89aa5c207f7ba6a688f45657424b937f17ceb8a /net/tipc/net.c | |
parent | 63f7526f26f0a9291ac3f7a986aa18ebfb61ec19 (diff) | |
parent | c8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4 (diff) |
Merge commit 'v2.6.37-rc1' into for-2.6.37
Diffstat (limited to 'net/tipc/net.c')
-rw-r--r-- | net/tipc/net.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/net/tipc/net.c b/net/tipc/net.c index f61b7694138b..1a621cfd6604 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c | |||
@@ -129,15 +129,6 @@ u32 tipc_net_select_router(u32 addr, u32 ref) | |||
129 | return tipc_zone_select_router(tipc_net.zones[tipc_zone(addr)], addr, ref); | 129 | return tipc_zone_select_router(tipc_net.zones[tipc_zone(addr)], addr, ref); |
130 | } | 130 | } |
131 | 131 | ||
132 | #if 0 | ||
133 | u32 tipc_net_next_node(u32 a) | ||
134 | { | ||
135 | if (tipc_net.zones[tipc_zone(a)]) | ||
136 | return tipc_zone_next_node(a); | ||
137 | return 0; | ||
138 | } | ||
139 | #endif | ||
140 | |||
141 | void tipc_net_remove_as_router(u32 router) | 132 | void tipc_net_remove_as_router(u32 router) |
142 | { | 133 | { |
143 | u32 z_num; | 134 | u32 z_num; |
@@ -248,6 +239,7 @@ void tipc_net_route_msg(struct sk_buff *buf) | |||
248 | 239 | ||
249 | /* Handle message for another node */ | 240 | /* Handle message for another node */ |
250 | msg_dbg(msg, "NET>SEND>: "); | 241 | msg_dbg(msg, "NET>SEND>: "); |
242 | skb_trim(buf, msg_size(msg)); | ||
251 | tipc_link_send(buf, dnode, msg_link_selector(msg)); | 243 | tipc_link_send(buf, dnode, msg_link_selector(msg)); |
252 | } | 244 | } |
253 | 245 | ||