summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorThomas Graf2014-11-13 13:45:46 +0100
committerDavid S. Miller2014-11-13 21:18:40 +0100
commit6eba82248ef47fd478f940a418429e3ec95cb3db (patch)
tree77e82bd157c6b164347f02ba6c33e5abe4860f86 /net/ipv4/tcp_output.c
parentMerge branch 'mlx4-next' (diff)
downloadkernel-qcow2-linux-6eba82248ef47fd478f940a418429e3ec95cb3db.tar.gz
kernel-qcow2-linux-6eba82248ef47fd478f940a418429e3ec95cb3db.tar.xz
kernel-qcow2-linux-6eba82248ef47fd478f940a418429e3ec95cb3db.zip
rhashtable: Drop gfp_flags arg in insert/remove functions
Reallocation is only required for shrinking and expanding and both rely on a mutex for synchronization and callers of rhashtable_init() are in non atomic context. Therefore, no reason to continue passing allocation hints through the API. Instead, use GFP_KERNEL and add __GFP_NOWARN | __GFP_NORETRY to allow for silent fall back to vzalloc() without the OOM killer jumping in as pointed out by Eric Dumazet and Eric W. Biederman. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions