]> git.baikalelectronics.ru Git - kernel.git/commit
caif: Bugfix for socket priority, bindtodev and dbg channel.
authorAndré Carvalho de Matos <andre.carvalho.matos@stericsson.com>
Mon, 1 Nov 2010 11:52:47 +0000 (11:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Nov 2010 01:50:03 +0000 (18:50 -0700)
commite525c0bee4701d944821c1a379e26ec7383fed2e
treef3c723c652b58cd4862d635e598a4ad88eedec64
parentf308f4f8c653ba248812424f962994c5948dcecd
caif: Bugfix for socket priority, bindtodev and dbg channel.

Changes:
o Bugfix: SO_PRIORITY for SOL_SOCKET could not be handled
  in caif's setsockopt,  using the struct sock attribute priority instead.

o Bugfix: SO_BINDTODEVICE for SOL_SOCKET could not be handled
  in caif's setsockopt,  using the struct sock attribute ifindex instead.

o Wrong assert statement for RFM layer segmentation.

o CAIF Debug channels was not working over SPI, caif_payload_info
  containing padding info must be initialized.

o Check on pointer before dereferencing when unregister dev in caif_dev.c

Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/caif/caif_dev.h
include/net/caif/cfcnfg.h
net/caif/caif_config_util.c
net/caif/caif_dev.c
net/caif/caif_socket.c
net/caif/cfcnfg.c
net/caif/cfdbgl.c
net/caif/cfrfml.c