netdev
[Top] [All Lists]

[PATCH] fix sock_raw behaviour

To: ralf@xxxxxxxxxxxxxx, "David S . Miller" <davem@xxxxxxxxxx>
Subject: [PATCH] fix sock_raw behaviour
From: Jeroen Vreeken <pe1rxq@xxxxxxxxx>
Date: Wed, 24 Sep 2003 23:45:44 +0200
Cc: linux-hams@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
Hi,

The attached patch fixes the behaviour of SOCK_RAW sockets in 2.6.0test5
Address and port matching is now being done.
A locking problem is also solved.
And in the recv function the source address is reported back instead of the
destination.
(This was solved earlier in 2.2.x but appearantly didn't make it into 2.4
and further.)

Jeroen

Attachment: sock-raw.diff
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] fix sock_raw behaviour, Jeroen Vreeken <=