]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc8b4f277892a6f0751c91c43c60e6ae81e23cb7
treeba2175f89efa688ad4e58e0d21842dce4f4c34da
parenta29e5a9a6ae5512add17ed81305584e198e9bed9
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