Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184808 - net-firewall/ipp2p-0.8.2-r3 doesn't work with kernel 2.6.22
Summary: net-firewall/ipp2p-0.8.2-r3 doesn't work with kernel 2.6.22
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 186953
Blocks: kernel-2.6.22
  Show dependency tree
 
Reported: 2007-07-10 08:54 UTC by Yakov Suraev
Modified: 2007-08-13 07:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch fixed compatibility problem with kernel 2.6.22 (ipp2p-0.8.2-kernel-2.6.22.patch,484 bytes, patch)
2007-07-10 09:02 UTC, Yakov Suraev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yakov Suraev 2007-07-10 08:54:38 UTC
Compilation of module fails, because skb->nh.iph removed from kernel 2.6.22

Reproducible: Always

Steps to Reproduce:
emerge ipp2p

Actual Results:  
/var/tmp/portage/net-firewall/ipp2p-0.8.2-r3/work/ipp2p-0.8.2/ipt_ipp2p.c: In function `match':
/var/tmp/portage/net-firewall/ipp2p-0.8.2-r3/work/ipp2p-0.8.2/ipt_ipp2p.c:760: error: structure has no member named `nh'
make[2]: *** [/var/tmp/portage/net-firewall/ipp2p-0.8.2-r3/work/ipp2p-0.8.2/ipt_ipp2p.o] Ошибка 1
make[1]: *** [_module_/var/tmp/portage/net-firewall/ipp2p-0.8.2-r3/work/ipp2p-0.8.2] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo'
make: *** [ipt_ipp2p.ko] Ошибка 2


Expected Results:  
net-firewall/ipp2p compiled successfully.

Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.5-r3, 2.6.22-gentoo i686)
=================================================================
System uname: 2.6.22-gentoo i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 07 Jul 2007 01:47:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.4.3-r4, 1.5.22
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -msse3 -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -msse3 -msse2 -fvisibility-inlines-hidden"
DISTDIR="/mnt/distfilez/local"
FEATURES="buildpkg candy ccache confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.KOI8-R"
LDFLAGS="-Wl,-O1,--sort-common,--enable-new-dtags"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/sunrise /usr/portage/local/layman/nouveau /usr/portage/local/layman/initng /usr/portage/local/layman/pro-audio /usr/portage/local/layman/java-overlay /usr/portage/local/layman/vmware /usr/portage/local/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amr ao apache2 aqua_theme berkdb bitmap-fonts bjam bluetooth bzip2 cairo cdparanoia cdr chardet chm clamav cli clucene cracklib crypt cscope cups curl dbus dga dillo directfb disk-partition djvu dmi dri dts dvd dvdnav dvdr dvdread dvi edb eds emacs emboss emf encode esd evo exif extras fam fbcon ffmpeg fftw firefox flac fortran ftp gd gdbm gif gimp gimpprint glib glut gpm graphviz gs gstreamer gtk gzip-el hal iconv imagemagick imap imlib inotify irda isdnlog jack java jbig jpeg kde kdeenablefinal kerberos kipi kqemu ladspa latex lcms ldap libg++ libsamplerate lirc lm_sensors logrotate mad maps midi mikmod mmap mmx mmxext mono motif mozilla moznopango mp3 mpeg mplayer mudflap mule music mysql ncurses nls nocd nodrm nodrmn nptl nptlonly ntfs nvidia ogg ole opengl openmp oss pam pango pch pcre pdf pdflib perl plotutils plugins png povray ppds pppd preview-latex python qt qt3 qt3support qt4 quicktime readline reflection reiserfs rtc ru samba scanner sdl session slang softmmu sounds spell spl sqlite3 sse sse2 ssl subtitles svg svga t1lib taglib tagwriting tcl tcpd tetex theora threads threadsafe tiff timidity tk trayicon truetype truetype-fonts tth type1-fonts usb userlocales v4l v4l2 vditool videos vim-syntax vim-with-x vnc vorbis win32codecs wma wmf x264 x86 xercesc xfs xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="ca0106 intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash service_file" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="devinput tekram" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Yakov Suraev 2007-07-10 09:02:29 UTC
Created attachment 124402 [details, diff]
Patch fixed compatibility problem with kernel 2.6.22

Patch replaced nh.iph (which has been dropped in kernel 2.6.22) with ip_hdr().
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2007-07-10 12:59:35 UTC
Patch looks correct.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-07-11 05:05:22 UTC
Fixed in -r4, which will be marked stable after the probation period. Thanks!
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2007-07-28 16:07:40 UTC
Can we go ahead with the stabilisation request now please. I'm going to be starting the 2.6.22 stable push in the next few days.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-08-13 07:07:24 UTC
Closing, as all arches marked stable