diff options
author | 2016-06-30 14:45:31 +0800 | |
---|---|---|
committer | 2016-07-01 05:32:16 -0400 | |
commit | 982fb490c298896d15e9323a882f34a57c11ff56 (patch) | |
tree | 453a3c8afc504c726462412c5b61cb90785c1069 /include/linux/skb_array.h | |
parent | Merge branch 'sch_hfsc-fixes-cleanups' (diff) | |
download | linux-rng-982fb490c298896d15e9323a882f34a57c11ff56.tar.xz linux-rng-982fb490c298896d15e9323a882f34a57c11ff56.zip |
ptr_ring: support zero length ring
Sometimes, we need zero length ring. But current code will crash since
we don't do any check before accessing the ring. This patch fixes this.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skb_array.h')
0 files changed, 0 insertions, 0 deletions