aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2017-03-01 16:35:08 -0300
committerDavid S. Miller <[email protected]>2017-03-02 13:19:33 -0800
commit94352d45092c23874532221b4d1e4721df9d63df (patch)
tree4962d392f77f9afe5fad1f5dc5eca4bd99ff651d /lib/memory-notifier-error-inject.c
parentd5afb6f9b6bb2c57bd0c05e76e12489dc0d037d9 (diff)
net: Introduce sk_clone_lock() error path routine
When handling problems in cloning a socket with the sk_clone_locked() function we need to perform several steps that were open coded in it and its callers, so introduce a routine to avoid this duplication: sk_free_unlock_clone(). Cc: Cong Wang <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Gerrit Renker <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions