net: rmnet: use GFP_KERNEL instead of GFP_ATOMIC
authorTaehee Yoo <ap420073@gmail.com>
Wed, 4 Mar 2020 23:25:43 +0000 (23:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2020 19:47:10 +0000 (11:47 -0800)
commit9c9cc918152e5775a60442171ef32235f17e1d72
tree3418cb6dc4ae5ae731c907e0397b9a57d42d23a2
parentfcf8f4eb81fb266f56505e821591070becc9eeb0
net: rmnet: use GFP_KERNEL instead of GFP_ATOMIC

In the current code, rmnet_register_real_device() and rmnet_newlink()
are using GFP_ATOMIC.
But, these functions are allowed to sleep.
So, GFP_KERNEL can be used.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c