af_ieee802154: minor cleanup in dgram_bind
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Fri, 7 Aug 2009 02:58:42 +0000 (02:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 04:54:50 +0000 (21:54 -0700)
commit74eda55db4335383ccdd1fb51a7b014202f89366
tree4671a186d38196577afd5fd8d7192b40ac3e9723
parent8e753dd0a82bd266256c20a20b98dfa48f98d21e
af_ieee802154: minor cleanup in dgram_bind

1) fix ro->bound protection by socket lock
2) make ro->bound bit instead of int

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/dgram.c