projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df81ab
)
[PATCH] struct path: convert netlink
author
Josef Sipek
<jsipek@fsl.cs.sunysb.edu>
Fri, 8 Dec 2006 10:37:25 +0000
(
02:37
-0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:48 +0000
(08:28 -0800)
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/netlink/af_netlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netlink/af_netlink.c
b/net/netlink/af_netlink.c
index 3baafb10f8f39e23b049a299bbf0cef29cecafb5..276131fe56dddb140afcfaf15e46bd6ead0263fa 100644
(file)
--- a/
net/netlink/af_netlink.c
+++ b/
net/netlink/af_netlink.c
@@
-699,7
+699,7
@@
static struct sock *netlink_getsockbypid(struct sock *ssk, u32 pid)
struct sock *netlink_getsockbyfilp(struct file *filp)
{
- struct inode *inode = filp->f_dentry->d_inode;
+ struct inode *inode = filp->f_
path.
dentry->d_inode;
struct sock *sock;
if (!S_ISSOCK(inode->i_mode))