Revision 85a64889492b45f931ddac87ec09d84aa7347ee1 authored by Jonathan Lallinger on 29 September 2011, 07:58:41 UTC, committed by David S. Miller on 29 September 2011, 18:57:19 UTC
In the rds_iw_mr_pool struct the free_pinned field keeps track of memory pinned by free MRs. While this field is incremented properly upon allocation, it is never decremented upon unmapping. This would cause the rds_rdma module to crash the kernel upon unloading, by triggering the BUG_ON in the rds_iw_destroy_mr_pool function. This change keeps track of the MRs that become unpinned, so that free_pinned can be decremented appropriately. Signed-off-by: Jonathan Lallinger <jonathan@ogc.us> Signed-off-by: Steve Wise <swise@ogc.us> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 605b91c
File | Mode | Size |
---|---|---|
AUTHORS | -rw-r--r-- | 2.6 KB |
CHANGES | -rw-r--r-- | 46.2 KB |
Kconfig | -rw-r--r-- | 6.5 KB |
Makefile | -rw-r--r-- | 492 bytes |
README | -rw-r--r-- | 38.1 KB |
TODO | -rw-r--r-- | 5.2 KB |
asn1.c | -rw-r--r-- | 14.9 KB |
cache.c | -rw-r--r-- | 7.9 KB |
cifs_debug.c | -rw-r--r-- | 20.9 KB |
cifs_debug.h | -rw-r--r-- | 2.5 KB |
cifs_dfs_ref.c | -rw-r--r-- | 9.5 KB |
cifs_fs_sb.h | -rw-r--r-- | 2.9 KB |
cifs_spnego.c | -rw-r--r-- | 4.7 KB |
cifs_spnego.h | -rw-r--r-- | 1.6 KB |
cifs_unicode.c | -rw-r--r-- | 8.8 KB |
cifs_unicode.h | -rw-r--r-- | 8.9 KB |
cifs_uniupr.h | -rw-r--r-- | 12.6 KB |
cifsacl.c | -rw-r--r-- | 29.3 KB |
cifsacl.h | -rw-r--r-- | 2.9 KB |
cifsencrypt.c | -rw-r--r-- | 22.1 KB |
cifsfs.c | -rw-r--r-- | 31.2 KB |
cifsfs.h | -rw-r--r-- | 5.6 KB |
cifsglob.h | -rw-r--r-- | 30.7 KB |
cifspdu.h | -rw-r--r-- | 80.0 KB |
cifsproto.h | -rw-r--r-- | 19.4 KB |
cifssmb.c | -rw-r--r-- | 179.6 KB |
connect.c | -rw-r--r-- | 103.7 KB |
dir.c | -rw-r--r-- | 19.5 KB |
dns_resolve.c | -rw-r--r-- | 2.8 KB |
dns_resolve.h | -rw-r--r-- | 1.2 KB |
export.c | -rw-r--r-- | 2.3 KB |
file.c | -rw-r--r-- | 62.8 KB |
fscache.c | -rw-r--r-- | 6.4 KB |
fscache.h | -rw-r--r-- | 4.5 KB |
inode.c | -rw-r--r-- | 59.2 KB |
ioctl.c | -rw-r--r-- | 2.8 KB |
link.c | -rw-r--r-- | 14.5 KB |
misc.c | -rw-r--r-- | 20.1 KB |
netmisc.c | -rw-r--r-- | 39.2 KB |
nterr.c | -rw-r--r-- | 33.5 KB |
nterr.h | -rw-r--r-- | 30.0 KB |
ntlmssp.h | -rw-r--r-- | 5.3 KB |
readdir.c | -rw-r--r-- | 22.7 KB |
rfc1002pdu.h | -rw-r--r-- | 2.8 KB |
sess.c | -rw-r--r-- | 28.3 KB |
smbencrypt.c | -rw-r--r-- | 9.8 KB |
smberr.h | -rw-r--r-- | 7.5 KB |
smbfsctl.h | -rw-r--r-- | 4.7 KB |
transport.c | -rw-r--r-- | 23.3 KB |
xattr.c | -rw-r--r-- | 11.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...