tipc: move bcast_addr from struct tipc_media to struct tipc_bearer
authorPatrick McHardy <kaber@trash.net>
Wed, 17 Apr 2013 06:18:26 +0000 (06:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2013 18:18:33 +0000 (14:18 -0400)
commit8aeb89f214cdb4c3d9e43213d52d4c5b0fb93bbb
treeba2175f89efa688ad4e58e0d21842dce4f4c34da
parentccc4ba2ea23e4507c174620405c5de7bee328f99
tipc: move bcast_addr from struct tipc_media to struct tipc_bearer

Some network protocols, like InfiniBand, don't have a fixed broadcast
address but one that depends on the configuration. Move the bcast_addr
to struct tipc_bearer and initialize it with the broadcast address of
the network device when the bearer is enabled.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c
net/tipc/bearer.c
net/tipc/bearer.h
net/tipc/discover.c
net/tipc/eth_media.c
This page took 0.025575 seconds and 5 git commands to generate.