diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-11-03 10:51:26 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-11-03 10:51:26 -0400 |
commit | 69dbdd819599e2f3b77c172e83af512845bca5ad (patch) | |
tree | 49939d8b80ec2115a801eae2aebc21f23867c876 /net/tipc/net.c | |
parent | 87232dd49aeb6b7d1af291edca8bd129a82ef4b5 (diff) | |
parent | 75e3f3137cb570661c2ad3035a139dda671fbb63 (diff) |
Merge branch 'fix/asoc' into for-linus
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 | ||