build: support for Linux 3.9

This commit is contained in:
Jan Engelhardt
2013-03-07 22:56:27 +01:00
parent 48ebf55444
commit cb1cdb190f
3 changed files with 9 additions and 3 deletions

View File

@@ -63,8 +63,8 @@ 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 3 -o "$kmajor" -eq 3 -a "$kminor" -gt 8; then
echo "WARNING: That kernel version is not officially supported.";
if test "$kmajor" -gt 3 -o "$kmajor" -eq 3 -a "$kminor" -gt 9; then
echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
elif test "$kmajor" -eq 3 -a "$kminor" -ge 7; then
:;
else

View File

@@ -3,6 +3,12 @@ HEAD
====
v2.2 (2013-03-07)
=================
Enhancements:
- Support for Linux 3.9
v2.1 (2012-11-27)
=================
Fixes:

View File

@@ -835,7 +835,7 @@ static int __net_init dnetmap_proc_net_init(struct net *net)
static void __net_exit dnetmap_proc_net_exit(struct net *net)
{
proc_net_remove(net, "xt_DNETMAP");
remove_proc_entry("xt_DNETMAP", net->proc_net);
}
#else