projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-fixes
[platform/kernel/linux-rpi.git]
/
net
/
netrom
/
af_netrom.c
diff --git
a/net/netrom/af_netrom.c
b/net/netrom/af_netrom.c
index
2dec358
..
7ed9d44
100644
(file)
--- a/
net/netrom/af_netrom.c
+++ b/
net/netrom/af_netrom.c
@@
-284,7
+284,7
@@
void nr_destroy_socket(struct sock *sk)
if (sk_has_allocations(sk)) {
/* Defer: outstanding buffers */
- sk->sk_timer.function =
(TIMER_FUNC_TYPE)
nr_destroy_timer;
+ sk->sk_timer.function = nr_destroy_timer;
sk->sk_timer.expires = jiffies + 2 * HZ;
add_timer(&sk->sk_timer);
} else