net: bridge: add compile-time assert for cb struct size
authorFlorian Westphal <fw@strlen.de>
Tue, 3 Mar 2015 12:53:31 +0000 (13:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2015 19:07:04 +0000 (14:07 -0500)
commit71e168b151babf4334e2e26c92230a6bda3b1f24
tree132f7705345adf3ebdc961c58baef6af48e8e788
parentacf8dd0a9d0b9e4cdb597c2f74802f79c699e802
net: bridge: add compile-time assert for cb struct size

make build fail if structure no longer fits into ->cb storage.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br.c