diff options
| author | Karsten Keil <kkeil@linux-pingi.de> | 2012-05-16 03:51:05 +0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2012-05-16 23:23:28 +0400 |
| commit | 7206e659f689558b41aa058c3040b081cb281d03 (patch) | |
| tree | 2be5bdef5a0bbb9c5763b8c1b1e6fe04b7184cc5 /lib/mpi/mpi-bit.c | |
| parent | 37952cfa3afdfa5cec39d9d76e80bc3a0e6a910c (diff) | |
| download | linux-7206e659f689558b41aa058c3040b081cb281d03.tar.xz | |
mISDN: Reduce RX buffer allocation for transparent data
We did allways allocate maxsize buffers, but for transparent data we know
the actual size.
Use a common function to calculate size and detect overflows.
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
