Re: comment on [NET]: Delete support for old-style protocols, no longer necessary.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 07 Oct 2003 11:37:09 -0700
Joe Perches <joe@perches.com> wrote:

> -       void                    *af_packet_priv;
> +       struct sock             *sk;	/* appropriate comment: socket copy? */

AF_PACKET is the only user of this private field, and
I want people to be aware of this and not try to use it
for other stuff.

Nobody else can use it for something different, the code
in net/core/dev.c does specific things when it's non-NULL
knowing that this non-NULL value means that it's an
AF_PACKET packet_type being passed to it.

So we won't make your suggested change.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux