diff options
| author | Tobias Klauser <[email protected]> | 2015-11-17 09:38:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-11-17 20:25:44 +0000 |
| commit | 4194b4914a824c21bcad9305d6180825f4dc1f5e (patch) | |
| tree | 9f8f042d945098206934bedc9326decbf92490b9 /net/unix/af_unix.c | |
| parent | net: phy: Use interrupts when available in NOLINK state (diff) | |
| download | kernel-4194b4914a824c21bcad9305d6180825f4dc1f5e.tar.gz kernel-4194b4914a824c21bcad9305d6180825f4dc1f5e.zip | |
packet: Don't check frames_per_block against negative values
rb->frames_per_block is an unsigned int, thus can never be negative.
Also fix spacing in the calculation of frames_per_block.
Signed-off-by: Tobias Klauser <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
