]> git.baikalelectronics.ru Git - kernel.git/commit
caif: Don't resend if dev_queue_xmit fails.
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Mon, 11 Apr 2011 10:43:51 +0000 (10:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 22:08:48 +0000 (15:08 -0700)
commitc679b78c7dde71b9d14f2e72ab7e51c871317042
treefac7a3a70bd32df3104ae6f1273a727fb0fa006f
parent83c047bd8aee7aefdd6e14e368aed05b9b0daec6
caif: Don't resend if dev_queue_xmit fails.

If CAIF Link Layer returns an error, we no longer try to re-build the
CAIF packet and resend it. Instead, we simply return any transmission
errors to the socket client.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_dev.c
net/caif/caif_socket.c
net/caif/cfdgml.c
net/caif/cffrml.c
net/caif/cfmuxl.c
net/caif/cfserl.c
net/caif/cfutill.c
net/caif/cfveil.c
net/caif/cfvidl.c