diff options
author | Herbert Xu | 2007-02-05 08:33:10 +0100 |
---|---|---|
committer | David S. Miller | 2007-02-08 21:38:47 +0100 |
commit | ffbc61117d32dc4e768f999325ecfb2528d6b303 (patch) | |
tree | f59a235c4eb22ac5ad9ede80f814f5d6ab1e6641 /kernel/audit.h | |
parent | [PACKET]: Add optional checksum computation for recvmsg (diff) | |
download | kernel-qcow2-linux-ffbc61117d32dc4e768f999325ecfb2528d6b303.tar.gz kernel-qcow2-linux-ffbc61117d32dc4e768f999325ecfb2528d6b303.tar.xz kernel-qcow2-linux-ffbc61117d32dc4e768f999325ecfb2528d6b303.zip |
[PACKET]: Fix skb->cb clobbering between aux and sockaddr
Both aux data and sockaddr tries to use the same buffer which
obviously doesn't work. We just happen to have 4 bytes free in
the skb->cb if you take away the maximum length of sockaddr_ll.
That's just enough to store the one piece of info from aux data
that we can't generate at recvmsg(2) time.
This is what the following patch does.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions