bug report for PLIP in kernel 2.2.14

From: Adel Belhouane (void@pipo.com)
Date: Sat Jan 15 2000 - 04:41:40 EST


I report a PLIP bug, I point the place that "activates" it, but this is a
bug that has been here for a very long time.

With kernel 2.2.14, PLIP (route?) doesn't work anymore. The change
that makes it no more work is the unique line patched (2.2.13->2.2.14) in:
linux/net/ethernet/eth.c
fast URL link:
http://www.kernelnotes.org/v22patch/patch-2.2.14/linux_net_ethernet_eth.c.html

Reversing only this patch makes PLIP work as before.

Before (a long time ago, maybe even in kernel 2.0) this bug
appeared only when the plip interface was put in promiscuous mode, now
with the change it appears all the time.

If you put the interface in promiscuous mode (and even if you don't now),
the incoming packets are lost somewhere in the kernel:
programs which use af_packet (tcpdump...) still can see the incoming or
outgoing packets, but after this layer incoming packets are lost. The
computer can send, but it's blind for incoming. It doesn't answer an
icmp ping or accept ip connections.
Before, i just took care of only use tcpdump with "-p" on this interface
to not activate the bug. Now it doesn't work at all. Maybe somebody can
find what's wrong?

I'm not on any kernel list, If somebody replies, could my email be added
as Cc: ?

Adel Belhouane <void@pipo.com>

---
I'm on PC i386 architecture. 2.2.14's config:

CONFIG_EXPERIMENTAL=y CONFIG_M586TSC=y CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_X86_TSC=y CONFIG_1GB=y CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y CONFIG_NET=y CONFIG_PCI=y CONFIG_PCI_GOBIOS=y CONFIG_PCI_BIOS=y CONFIG_SYSVIPC=y CONFIG_SYSCTL=y CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=m CONFIG_PARPORT=m CONFIG_PARPORT_PC=m CONFIG_APM=y CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y CONFIG_APM_POWER_OFF=y CONFIG_APM_RTC_IS_GMT=y CONFIG_APM_ALLOW_INTS=y CONFIG_PNP=y CONFIG_PNP_PARPORT=m CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_IDECD=m CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=m CONFIG_PARIDE_PARPORT=m CONFIG_PACKET=m CONFIG_NETLINK=y CONFIG_RTNETLINK=y CONFIG_NETLINK_DEV=y CONFIG_FIREWALL=y CONFIG_FILTER=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_RTNETLINK=y CONFIG_NETLINK=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_MULTIPATH=y CONFIG_IP_ROUTE_TOS=y CONFIG_IP_ROUTE_VERBOSE=y CONFIG_IP_ROUTE_NAT=y CONFIG_IP_FIREWALL=y CONFIG_IP_FIREWALL_NETLINK=y CONFIG_NETLINK_DEV=y CONFIG_IP_ROUTE_FWMARK=y CONFIG_IP_TRANSPARENT_PROXY=y CONFIG_IP_MASQUERADE=y CONFIG_IP_MASQUERADE_ICMP=y CONFIG_IP_MASQUERADE_MOD=y CONFIG_IP_MASQUERADE_IPAUTOFW=m CONFIG_IP_MASQUERADE_IPPORTFW=m CONFIG_IP_MASQUERADE_MFW=m CONFIG_NET_IPIP=m CONFIG_NET_IPGRE=m CONFIG_NET_IPGRE_BROADCAST=y CONFIG_IP_MROUTE=y CONFIG_IP_PIMSM_V1=y CONFIG_IP_ALIAS=y CONFIG_ARPD=y CONFIG_SYN_COOKIES=y CONFIG_SKB_LARGE=y CONFIG_IPV6=m CONFIG_IPV6_EUI64=y CONFIG_IPV6_NO_PB=y CONFIG_ATALK=m CONFIG_NET_SCHED=y CONFIG_NETLINK=y CONFIG_RTNETLINK=y CONFIG_NET_SCH_TEQL=m CONFIG_NETDEVICES=y CONFIG_DUMMY=m CONFIG_ETHERTAP=m CONFIG_PLIP=m CONFIG_PPP=m CONFIG_SLIP=m CONFIG_SLIP_COMPRESSED=y CONFIG_SHAPER=m CONFIG_IRDA=m CONFIG_IRLAN=m CONFIG_IRCOMM=m CONFIG_IRLPT=m CONFIG_IRLPT_CLIENT=m CONFIG_IRLPT_SERVER=m CONFIG_IRDA_OPTIONS=y CONFIG_IRDA_CACHE_LAST_LSAP=y CONFIG_IRDA_FAST_RR=y CONFIG_IRDA_DEBUG=y CONFIG_IRDA_COMPRESSION=y CONFIG_IRDA_DEFLATE=m CONFIG_IRTTY_SIR=m CONFIG_IRPORT_SIR=m CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=m CONFIG_SERIAL_EXTENDED=y CONFIG_SERIAL_SHARE_IRQ=y CONFIG_SERIAL_DETECT_IRQ=y CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTY_COUNT=64 CONFIG_PRINTER=m CONFIG_PRINTER_READBACK=y CONFIG_MOUSE=y CONFIG_PSMOUSE=y CONFIG_JOYSTICK=m CONFIG_JOY_ANALOG=m CONFIG_NVRAM=m CONFIG_RTC=y CONFIG_HFS_FS=m CONFIG_FAT_FS=m CONFIG_VFAT_FS=m CONFIG_ISO9660_FS=m CONFIG_JOLIET=y CONFIG_MINIX_FS=m CONFIG_PROC_FS=y CONFIG_DEVPTS_FS=y CONFIG_EXT2_FS=y CONFIG_CODA_FS=m CONFIG_NFS_FS=m CONFIG_NFSD=m CONFIG_SUNRPC=m CONFIG_LOCKD=m CONFIG_SMB_FS=m CONFIG_NLS=y CONFIG_NLS_CODEPAGE_437=m CONFIG_NLS_CODEPAGE_850=m CONFIG_NLS_CODEPAGE_863=m CONFIG_NLS_ISO8859_1=m CONFIG_NLS_ISO8859_15=m CONFIG_VGA_CONSOLE=y CONFIG_VIDEO_SELECT=y CONFIG_FB=y CONFIG_DUMMY_CONSOLE=y CONFIG_FB_VESA=y CONFIG_VIDEO_SELECT=y CONFIG_FBCON_CFB8=y CONFIG_FBCON_CFB16=y CONFIG_FBCON_CFB24=y CONFIG_FBCON_CFB32=y CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y CONFIG_SOUND=m CONFIG_SOUND_OSS=m CONFIG_SOUND_MPU401=m CONFIG_SOUND_MAD16=m CONFIG_SOUND_YM3812=m CONFIG_MAGIC_SYSRQ=y

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:30 EST