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)
commitf2527ec436fd675f08a8e7434f6e940688cb96d0
treef3c723c652b58cd4862d635e598a4ad88eedec64
parent6cc0e949afe757d240fba4ad1839a27f66c3bd72
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