aha/net/ax25
Ralf Baechle 53b924b31f [NET]: Fix socket bitop damage
The socket flag cleanups that went into 2.6.12-rc1 are basically oring
the flags of an old socket into the socket just being created.
Unfortunately that one was just initialized by sock_init_data(), so already
has SOCK_ZAPPED set.  As the result zapped sockets are created and all
incoming connection will fail due to this bug which again was carefully
replicated to at least AX.25, NET/ROM or ROSE.

In order to keep the abstraction alive I've introduced sock_copy_flags()
to copy the socket flags from one sockets to another and used that
instead of the bitwise copy thing.  Anyway, the idea here has probably
been to copy all flags, so sock_copy_flags() should be the right thing.
With this the ham radio protocols are usable again, so I hope this will
make it into 2.6.13.

Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-08-23 10:11:30 -07:00
..
af_ax25.c [NET]: Fix socket bitop damage 2005-08-23 10:11:30 -07:00
ax25_addr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_dev.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_ds_in.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_ds_subr.c [AX25] Introduce ax25_type_trans 2005-04-24 18:53:06 -07:00
ax25_ds_timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_iface.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_in.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_ip.c [AX25]: make ax25_queue_xmit a net_device parameter 2005-04-21 16:46:56 -07:00
ax25_out.c [AX25] Introduce ax25_type_trans 2005-04-24 18:53:06 -07:00
ax25_route.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_std_in.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_std_subr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_std_timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_subr.c [AX25]: make ax25_queue_xmit a net_device parameter 2005-04-21 16:46:56 -07:00
ax25_timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25_uid.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysctl_net_ax25.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
TODO Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00