mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 04:35:12 +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.";
|
echo "WARNING: Version detection did not succeed. Continue at own luck.";
|
||||||
else
|
else
|
||||||
echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
|
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.";
|
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
|
elif test "$kmajor" -eq 3 -a "$kminor" -ge 7; then
|
||||||
:;
|
:;
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
HEAD
|
HEAD
|
||||||
====
|
====
|
||||||
|
Enhancements:
|
||||||
|
- Support for Linux 4.3
|
||||||
|
|
||||||
|
|
||||||
v2.8 (2015-08-19)
|
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;
|
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)
|
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;
|
int ret;
|
||||||
|
|
||||||
spin_lock_bh(&e->lock);
|
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);
|
spin_unlock_bh(&e->lock);
|
||||||
return ret;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int quota_proc_open(struct inode *inode, struct file *file)
|
static int quota_proc_open(struct inode *inode, struct file *file)
|
||||||
|
Reference in New Issue
Block a user