Commit Graph

13542 Commits

Author SHA1 Message Date
Marcel Holtmann
c309c17df4 hwdb: update 2013-12-22 11:32:11 -08:00
Marcel Holtmann
56243d0936 hwdb: Add SDIO database to ids-update.pl script 2013-12-22 11:30:57 -08:00
Marcel Holtmann
23ee5a0050 hwdb: Add SDIO Bluetooth and WiFi devices from Marvell 2013-12-22 11:20:53 -08:00
Marcel Holtmann
ac6ee4fa3a hwdb: Add SDIO products from GCT and CSR 2013-12-22 11:08:50 -08:00
Marcel Holtmann
0e122faf73 hwdb: Add SDIO WLAN devices from ST-Ericsson and TI 2013-12-22 10:58:30 -08:00
Marcel Holtmann
a3873fa35b hwdb: Correct SDIO vendor identifier for Broadcom 2013-12-22 10:49:08 -08:00
Marcel Holtmann
c1a10e25b0 hwdb: Add SDIO device information for Broadcom B43 based cards 2013-12-22 10:46:13 -08:00
Marcel Holtmann
cb4bef2be1 hwdb: Add some known SDIO device identification strings 2013-12-22 10:33:25 -08:00
Marcel Holtmann
d5f7759a98 hwddb: Add database for SDIO vendor and class information 2013-12-22 10:21:20 -08:00
Kay Sievers
f72a3e5bad Revert "bus-proxyd: use a loop instead of c&p"
This reverts commit 9818fa6d6d.

The proxy does not work anymore with this patch.
2013-12-22 16:41:24 +01:00
Marc-Antoine Perennou
c573f8f873 man: fix make install
commit 5b04fe6000 broke it with
‘./man/sd_session_is_remote.3’: No such file or directory
2013-12-22 16:04:14 +01:00
Tom Gundersen
23f30ed312 libsystemd-dhcp: add some asserts 2013-12-22 14:42:12 +01:00
Patrik Flykt
3dd7140035 libsystemd-dhcp: Handle T2 Rebinding timeout
Reuse existing functionality when adding T2 Rebinding support.
2013-12-22 14:37:53 +01:00
Patrik Flykt
6a1cd41ef0 libsystemd-dhcp: Factor out common code initializing events
Factor out common code from timeout T1 handling and starting of
the DHCP client.
2013-12-22 14:37:53 +01:00
Patrik Flykt
aba26854e5 libsystemd-dhcp: Handle T1 Renewing timeout
Expiration of T1 timeout takes the client to the Rebinding state,
where it attempts to renew its lease. Start by opening a DCHP unicast
socket as there now is a proper IP address set.

Compute the resend timer as half of the remaining time down to a
minimum of 60 seconds (RFC2131). Modify DHCP Request sending to send
only UDP DHCP data when unicasting. Also modify DHCP Ack/Nak
receiving such that the client_receive_ack() takes care of using
either the full IP, UDP, DHCP packet or only the DHCP payload
depending whether the client is in Requesting or Renewing state.
Finally always report DHCP_EVENT_IP_ACQUIRE from Requesting state
and only DHCP_EVENT_IP_CHANGE if the IP address was modified when
the lease was renewed.
2013-12-22 14:37:53 +01:00
Patrik Flykt
234fc2dfce libsystemd-dhcp: Add functions for sending unicast UDP messages
Create a helper functions setting up an unicast DHCP UDP socket and
sending data. Add function stubs for the test program.

[tomegun: initialize structs when allocating, and drop unneccesary 'err']
2013-12-22 14:37:49 +01:00
Patrik Flykt
2fba7b03b5 libsystemd-dhcp: Check test result without casting value 2013-12-22 14:28:00 +01:00
Patrik Flykt
0c6a3c888a libsystemd-dhcp: Fix checksum computation for buffer with odd size
Fix off-by-one error and notice that summing may need more than one
round for the result to be in the lower 16 bits.
2013-12-22 14:28:00 +01:00
Patrik Flykt
77e8d29dd2 libsystemd-dhcp: Fix receiving of other message when expecting Ack
When a DHCP Nak is received, return a DHCP_EVENT_NO_LEASE event. If
some other DHCP message is received or an error happens when parsing
options, return -ENOMSG in order to ignore the packet. There may be
more than one server serving the same subnet, each server will send
its Offer to the client.
2013-12-22 14:28:00 +01:00
Patrik Flykt
2ed0375c2d libsystemd-dhcp: Unref event source before closing socket 2013-12-22 14:28:00 +01:00
Patrik Flykt
20d471b933 libsystemd-dhcp: Return proper error on OOM 2013-12-22 14:28:00 +01:00
Patrik Flykt
1c8035a897 libsystemd-dhcp: Return proper error if bind fails
This also fixes a minor indentation damage.

[tomegun: use close_noint_nofail() instead and drop 'err' variables]
2013-12-22 14:27:15 +01:00
Patrik Flykt
3b349af69a libsystemd-dhcp: Use be32_t for IP addresses in network order. 2013-12-22 10:48:31 +01:00
Zbigniew Jędrzejewski-Szmek
eb53c37e2e logind: remove dead variable
Noticed-by: Jan Alexander Steffens <jan.steffens@gmail.com>
2013-12-21 22:54:03 -05:00
Thomas Bächler
e2f123b97b fstab-generator: Do not try to fsck non-devices
This fixes a regression introduced in 64e70e4 where the mount fails
when fstab is misconfigured with fs_passno > 0 on a virtual file
system like nfs, and the type is specified as "auto".
2013-12-21 22:52:56 -05:00