ee0f60df | 11-Sep-2012 |
Brian Rzycki <bmr@freescale.com> |
net: Quietly ignore DHCP Option 28 (Broadcast Address)
Some DHCP servers (notably dnsmasq) always transmit DHCP Option 28, Broadcast Address as specified in RFC 2132. Without this patch u-boot displ
net: Quietly ignore DHCP Option 28 (Broadcast Address)
Some DHCP servers (notably dnsmasq) always transmit DHCP Option 28, Broadcast Address as specified in RFC 2132. Without this patch u-boot displays the warning: *** Unhandled DHCP Option in OFFER/ACK: 28
The patch suppresses the warning and ignores DHCP Option 28. There is no environment variable to set the broadcast address into and if for some reason u-boot needs the broadcast it can be calculated from ipaddr and netmask.
Signed-off-by: Brian Rzycki <bmr@freescale.com>
show more ...
|
460f949f | 10-Aug-2012 |
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> |
net: eth_write_hwaddr: Return error for invalid MACs
If dev->enetaddr was supposed to be set with dev->write_hwaddr() but the MAC address was not valid, return an error.
Signed-off-by: Benoît Théba
net: eth_write_hwaddr: Return error for invalid MACs
If dev->enetaddr was supposed to be set with dev->write_hwaddr() but the MAC address was not valid, return an error.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
8a0eccb1 | 18-Sep-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
net: Filter incoming netconsole packets by IP
Check the incoming packets' source IP address... if ncip isn't set to a broadcast address, only listen to the client at ncip.
Signed-off-by: Joe Hershb
net: Filter incoming netconsole packets by IP
Check the incoming packets' source IP address... if ncip isn't set to a broadcast address, only listen to the client at ncip.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
48a3e999 | 03-Jul-2012 |
Tetsuyuki Kobayashi <koba@kmckk.co.jp> |
net: nfs: make NFS_TIMEOUT configurable
NFS_TIMEOUT is constant value defined in net/nfs.c. But sometimes it needs to adjust. This patch enables to override NFS_TIMEOUT by defining CONFIG_NFS_TIMEOU
net: nfs: make NFS_TIMEOUT configurable
NFS_TIMEOUT is constant value defined in net/nfs.c. But sometimes it needs to adjust. This patch enables to override NFS_TIMEOUT by defining CONFIG_NFS_TIMEOUT in a board specific config file.
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
show more ...
|
bc46dfac | 10-Jul-2012 |
Jayachandran Chandrasekharan Nair <jayachandranc@netlogicmicro.com> |
net: tftp: fix type of block arg to store_block
The block argument for store_block can be -1 when the tftp sequence number rolls over (i.e TftpBlock == 0), so the first argument to store_block has t
net: tftp: fix type of block arg to store_block
The block argument for store_block can be -1 when the tftp sequence number rolls over (i.e TftpBlock == 0), so the first argument to store_block has to be of type 'int' instead of 'unsigned'.
In our environment (gcc 4.4.5 mips toolchain), this causes incorrect 'offset' to be generated for storing the block, and the tftp block with number 0 will be written elsewhere, resulting in a bad block in the downloaded file and a memory corruption.
Signed-off-by: Jayachandran Chandrasekharan Nair <jayachandranc@netlogicmicro.com>
show more ...
|
a0bc44e6 | 09-Jul-2012 |
Mike Frysinger <vapier@gentoo.org> |
net: fix typo in arp clean up
The clean up patch missed an &, so we end up passing an int rather than a pointer to the sprintf function.
arp.c: In function 'ArpReceive': arp.c:197: warning: format
net: fix typo in arp clean up
The clean up patch missed an &, so we end up passing an int rather than a pointer to the sprintf function.
arp.c: In function 'ArpReceive': arp.c:197: warning: format '%p' expects type 'void *', but argument 3 has type 'int'
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
03c1b04f | 05-Jun-2012 |
Michael Walle <michael@walle.cc> |
net: add helper to generate random mac address
Add new function eth_random_enetaddr() to generate a locally administered ethernet address.
Signed-off-by: Michael Walle <michael@walle.cc> Acked-by:
net: add helper to generate random mac address
Add new function eth_random_enetaddr() to generate a locally administered ethernet address.
Signed-off-by: Michael Walle <michael@walle.cc> Acked-by: Joe Hershberger <joe.hershberger@gmail.com>
show more ...
|