mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 12:45:13 +02:00
build: support for Linux 4.3
This commit is contained in:
@@ -63,9 +63,9 @@ if test -n "$kbuilddir"; then
|
||||
echo "WARNING: Version detection did not succeed. Continue at own luck.";
|
||||
else
|
||||
echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
|
||||
if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 1; then
|
||||
if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 3; then
|
||||
echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
|
||||
elif test "$kmajor" -eq 4 -a "$kminor" -le 1; then
|
||||
elif test "$kmajor" -eq 4 -a "$kminor" -le 3; then
|
||||
:;
|
||||
elif test "$kmajor" -eq 3 -a "$kminor" -ge 7; then
|
||||
:;
|
||||
|
@@ -1,6 +1,8 @@
|
||||
|
||||
HEAD
|
||||
====
|
||||
Enhancements:
|
||||
- Support for Linux 4.3
|
||||
|
||||
|
||||
v2.8 (2015-08-19)
|
||||
|
@@ -66,7 +66,8 @@ static int condition_proc_show(struct seq_file *m, void *data)
|
||||
{
|
||||
const struct condition_variable *var = m->private;
|
||||
|
||||
return seq_printf(m, var->enabled ? "1\n" : "0\n");
|
||||
seq_printf(m, var->enabled ? "1\n" : "0\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int condition_proc_open(struct inode *inode, struct file *file)
|
||||
|
@@ -67,9 +67,9 @@ static int quota_proc_show(struct seq_file *m, void *data)
|
||||
int ret;
|
||||
|
||||
spin_lock_bh(&e->lock);
|
||||
ret = seq_printf(m, "%llu\n", e->quota);
|
||||
seq_printf(m, "%llu\n", e->quota);
|
||||
spin_unlock_bh(&e->lock);
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int quota_proc_open(struct inode *inode, struct file *file)
|
||||
|
Reference in New Issue
Block a user