]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- updated patches for 3.19
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 27 Mar 2015 08:07:08 +0000 (09:07 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 27 Mar 2015 08:07:08 +0000 (09:07 +0100)
kernel-aufs3.patch
kernel-imq.patch
kernel-layer7.patch

index 68ab2f5754ddcc872f435af8acba430cb2c5c988..31e984ec9b97fd299eb8a4950723aaec318bb7cc 100644 (file)
@@ -26,12 +26,12 @@ index 8523f9b..11f8f74 100644
 --- a/include/uapi/linux/Kbuild
 +++ b/include/uapi/linux/Kbuild
 @@ -56,6 +56,7 @@ header-y += atmppp.h
- header-y += atmsap.h
- header-y += atmsvc.h
+ header-y += atm_tcp.h
+ header-y += atm_zatm.h
  header-y += audit.h
 +header-y += aufs_type.h
- header-y += auto_fs.h
  header-y += auto_fs4.h
+ header-y += auto_fs.h
  header-y += auxvec.h
 aufs3.18.1+ base patch
 
@@ -393,7 +393,7 @@ index 0938b30..0b66856 100644
 -      get_file(f);
 +      vma_get_file(vma);
        up_read(&current->mm->mmap_sem);
-       error = do_fallocate(f,
+       error = vfs_fallocate(f,
                                FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
                                offset, end - start);
 -      fput(f);
@@ -767,14 +767,6 @@ index de92c13..65d8ab0 100644
  
  long vfs_truncate(struct path *path, loff_t length)
  {
-@@ -298,6 +299,7 @@ int do_fallocate(struct file *file, int mode, loff_t offset, loff_t len)
-       sb_end_write(inode->i_sb);
-       return ret;
- }
-+EXPORT_SYMBOL(do_fallocate);
- SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len)
- {
 diff --git a/fs/splice.c b/fs/splice.c
 index 619359a..c14f60e 100644
 --- a/fs/splice.c
@@ -13601,7 +13593,7 @@ diff -urN /usr/share/empty/fs/aufs/f_op.c linux/fs/aufs/f_op.c
 +      fi_write_unlock(file);
 +
 +      lockdep_off();
-+      err = do_fallocate(h_file, mode, offset, len);
++      err = vfs_fallocate(h_file, mode, offset, len);
 +      lockdep_on();
 +      ii_write_lock_child(inode);
 +      au_cpup_attr_timesizes(inode);
index baebad1e4be8a779bd9ba6d51c51fba4a9c58d47..086f5f0bf5e6c7ab50833f9d76b681b8206a020d 100644 (file)
@@ -1376,9 +1376,9 @@ index 3d13874..9842f21 100644
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
 @@ -131,6 +131,9 @@
- #include <linux/vmalloc.h>
  #include <linux/if_macvlan.h>
  #include <linux/errqueue.h>
+ #include <linux/hrtimer.h>
 +#if defined(CONFIG_IMQ) || defined(CONFIG_IMQ_MODULE)
 +#include <linux/imq.h>
 +#endif
index a390ab2312db53cdadfb6591e17d94ed72eab406..612c295da23c69ec92f689b8eae1627e4afc7c0b 100644 (file)
 --- linux-2.6.28-stock/net/netfilter/nf_conntrack_standalone.c 2009-01-07 16:05:35.000000000 -0600
 +++ linux-2.6.28/net/netfilter/nf_conntrack_standalone.c       2009-01-07 16:07:31.000000000 -0600
 @@ -165,6 +165,12 @@ static int ct_seq_show(struct seq_file *
-               return -ENOSPC;
- #endif
+       ct_show_delta_time(s, ct);
  
 +#if defined(CONFIG_NETFILTER_XT_MATCH_LAYER7) || defined(CONFIG_NETFILTER_XT_MATCH_LAYER7_MODULE)
 +      if(ct->layer7.app_proto &&
 +              return -ENOSPC;
 +#endif
 +
-       if (seq_printf(s, "use=%u\n", atomic_read(&ct->ct_general.use)))
-               return -ENOSPC;
+       seq_printf(s, "use=%u\n", atomic_read(&ct->ct_general.use));
  
+       if (seq_has_overflowed(s))
 --- linux-2.6.28-stock/include/net/netfilter/nf_conntrack.h    2009-01-07 16:05:30.000000000 -0600
 +++ linux-2.6.28/include/net/netfilter/nf_conntrack.h  2009-01-07 16:07:31.000000000 -0600
 @@ -118,6 +118,22 @@ struct nf_conn
This page took 0.32291 seconds and 4 git commands to generate.