dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/net/netlabel
Dan Carpenter 64b5fad526 netlabel: use GFP flags from caller instead of GFP_ATOMIC
This function takes a GFP flags as a parameter, but they are never used.
We don't take a lock in this function so there is no reason to prefer
GFP_ATOMIC over the caller's GFP flags.

There is only one caller, cipso_v4_map_cat_rng_ntoh(), and it passes
GFP_ATOMIC as the GFP flags so this doesn't change how the code works.
It's just a cleanup.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-03-22 19:29:57 -04:00
..
Kconfig [NETLABEL]: Fix build failure. 2006-11-05 16:44:06 -08:00
Makefile doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_addrlist.c net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
netlabel_addrlist.h net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
netlabel_cipso_v4.c doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_cipso_v4.h doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_domainhash.c net: reintroduce missing rcu_assign_pointer() calls 2012-01-12 12:26:56 -08:00
netlabel_domainhash.h net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
netlabel_kapi.c netlabel: use GFP flags from caller instead of GFP_ATOMIC 2012-03-22 19:29:57 -04:00
netlabel_mgmt.c net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
netlabel_mgmt.h doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_unlabeled.c net: reintroduce missing rcu_assign_pointer() calls 2012-01-12 12:26:56 -08:00
netlabel_unlabeled.h doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_user.c doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_user.h doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00