commit | 4ba1d9c0c22947a9207029e7184733252e6135f1 | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Wed Mar 31 16:26:39 2010 +0200 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sat Apr 10 16:51:13 2010 +0200 |
tree | 7801ca5b28bfb50a1992483ebbf86b46471b05dc | |
parent | fe43d6d9cf59d8f8cbfdcde2018de13ffd1285c7 [diff] |
firewire: cdev: disallow receive packets without header In receive contexts, reject packets with header_length==0. This would be an instruction to queue zero packets which would not make sense. This prevents a division by zero in the OHCI driver. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>