diff options
-rw-r--r-- | net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 | ||||
-rw-r--r-- | net/ipv4/netfilter/ipt_recent.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/ipt_CLUSTERIP.c b/net/ipv4/netfilter/ipt_CLUSTERIP.c index 098365062234..fef56ae61abe 100644 --- a/net/ipv4/netfilter/ipt_CLUSTERIP.c +++ b/net/ipv4/netfilter/ipt_CLUSTERIP.c | |||
@@ -683,7 +683,7 @@ static ssize_t clusterip_proc_write(struct file *file, const char __user *input, | |||
683 | { | 683 | { |
684 | #define PROC_WRITELEN 10 | 684 | #define PROC_WRITELEN 10 |
685 | char buffer[PROC_WRITELEN+1]; | 685 | char buffer[PROC_WRITELEN+1]; |
686 | struct proc_dir_entry *pde = PDE(file->f_dentry->d_inode); | 686 | struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); |
687 | struct clusterip_config *c = pde->data; | 687 | struct clusterip_config *c = pde->data; |
688 | unsigned long nodenum; | 688 | unsigned long nodenum; |
689 | 689 | ||
diff --git a/net/ipv4/netfilter/ipt_recent.c b/net/ipv4/netfilter/ipt_recent.c index 126db44e71a8..4db0e73c56f1 100644 --- a/net/ipv4/netfilter/ipt_recent.c +++ b/net/ipv4/netfilter/ipt_recent.c | |||
@@ -401,7 +401,7 @@ static int recent_seq_open(struct inode *inode, struct file *file) | |||
401 | static ssize_t recent_proc_write(struct file *file, const char __user *input, | 401 | static ssize_t recent_proc_write(struct file *file, const char __user *input, |
402 | size_t size, loff_t *loff) | 402 | size_t size, loff_t *loff) |
403 | { | 403 | { |
404 | struct proc_dir_entry *pde = PDE(file->f_dentry->d_inode); | 404 | struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); |
405 | struct recent_table *t = pde->data; | 405 | struct recent_table *t = pde->data; |
406 | struct recent_entry *e; | 406 | struct recent_entry *e; |
407 | char buf[sizeof("+255.255.255.255")], *c = buf; | 407 | char buf[sizeof("+255.255.255.255")], *c = buf; |