Hello!
> Is there any serious reason why when device has IFF_NOARP set, devices ll
> address is used as destination address even for broadcasts (and even when
> devices broadcast address is valid)?
No reasons, I think. Instead of that your patch, it may be better just
exchange order of tests. As I remember, ll addr is initialized
to dev_addr for NOARP just to get a valid unicast address as destination
for eth_type_trans() to work correctly.
> Currently it is impossible to send out correct broadcast over ethernet
> when IFF_NOARP is set.
No, it is surely not impossible. f.e.
ip neigh add 255.255.255.255 dev dummy0 lladdr ff:ff:ff:ff:ff:ff
works.
Alexey
|