Szymon Janc [Wed, 8 Aug 2012 07:42:06 +0000 (09:42 +0200)]
p2p: Fix not freeing server_data in free_server_data
Free server_data when clearing servers list. This fix following issue
reported by valgrind:
84 bytes in 3 blocks are definitely lost in loss record 167 of 210
at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
by 0x4095C5A: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
by 0x40961DC: g_try_malloc0 (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
by 0x8056853: p2p_listen (p2p.c:247)
by 0x407FA21: g_hash_table_foreach (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
by 0x805BA2F: __near_adapter_listen (adapter.c:1048)
by 0x805C64D: near_device_driver_register (device.c:461)
by 0x80567E2: p2p_init (p2p.c:374)
by 0x805E317: __near_plugin_init (plugin.c:180)
by 0x804E0E1: main (main.c:214)
Szymon Janc [Tue, 7 Aug 2012 12:22:36 +0000 (14:22 +0200)]
bluetooth: Fix EIR parsing
Fix parsing of EIR data to avoid reading data from wrong offset.
This also fix invalid memory access reported by valgrind which could
potentially result in daemon crash.
neard[30296]: src/bluetooth.c:bt_parse_eir()
neard[30296]: Unknown EIR: x03 (len: 4)
neard[30296]: Unknown EIR: x00 (len: 253)
==30296== Invalid read of size 1
==30296== at 0x8064DF8: __near_bluetooth_parse_oob_record (bluetooth.c:531)
==30296== by 0x8060DF3: parse_mime_type.isra.3 (ndef.c:1299)
==30296== by 0x8062043: near_ndef_parse (ndef.c:2124)
==30296== by 0x8063BB7: near_tlv_parse (tlv.c:95)
==30296== by 0x8053252: data_recv (nfctype2.c:148)
==30296== by 0x8059D03: execute_recv_cb (adapter.c:846)
==30296== by 0x408D1BF: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
==30296== by 0x408FEF2: g_main_context_dispatch (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
==30296== by 0x409028F: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
==30296== by 0x40906EA: g_main_loop_run (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
==30296== by 0x41E44D2: (below main) (libc-start.c:226)
==30296== Address 0x4556405 is 13 bytes inside a block of size 22 free'd
==30296== at 0x402B06C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==30296== by 0x4095FCA: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
==30296== by 0x409613F: g_free (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
==30296== by 0x805CCAF: near_tag_get_tag (tag.c:94)
==30296== by 0x8052F36: meta_recv (nfctype2.c:221)
==30296== by 0x8059D03: execute_recv_cb (adapter.c:846)
==30296== by 0x408D1BF: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
==30296== by 0x408FEF2: g_main_context_dispatch (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
==30296== by 0x409028F: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
==30296== by 0x40906EA: g_main_loop_run (in /lib/i386-linux-gnu/libglib-2.0.so.0.3306.0)
==30296== by 0x41E44D2: (below main) (libc-start.c:226)
Szymon Janc [Tue, 7 Aug 2012 12:22:35 +0000 (14:22 +0200)]
snep: Remove unreachable code in snep_read
Szymon Janc [Tue, 7 Aug 2012 12:22:34 +0000 (14:22 +0200)]
snep: Fix possible memory leak in snep_read
Free previously allocated snep_data if nfc_data allocation failed
before returning error.
Szymon Janc [Tue, 7 Aug 2012 12:22:33 +0000 (14:22 +0200)]
nfctype3: Always free cookie in case of error
Free cookie allocated in nfctype3_recv_UID in case of error
irrespectively of callback being present.
Szymon Janc [Tue, 7 Aug 2012 12:22:32 +0000 (14:22 +0200)]
nfctype3: Fix possible memory leak in nfctype3_read
If call to near_adapter_send() failed cookie should be freed before
returning.
Szymon Janc [Tue, 7 Aug 2012 12:22:31 +0000 (14:22 +0200)]
nfctype3: Fix possible NULL pointer dereference in nfctype3_read
Check if memory allocation succeed before dereferencing pointer.
Szymon Janc [Tue, 7 Aug 2012 12:22:30 +0000 (14:22 +0200)]
nfctype3: Fix possible NULL pointer dereference in nfctype3_recv_UID
Check if memory allocation succeed before dereferencing pointer and
free any allocated memory before returning. This also fix memory leak
if call to near_adapter_send failed.
Szymon Janc [Tue, 7 Aug 2012 12:22:29 +0000 (14:22 +0200)]
nfctype2: Fix possible NULL pointer dereference in nfctype2_format
Check if memory allocation succeed before dereferencing pointers and
free any allocated memory before returning. This also fix memory leaks
if call to near_adapter_send failed.
Szymon Janc [Tue, 7 Aug 2012 12:22:28 +0000 (14:22 +0200)]
nfctype2: Fix possible NULL pointer dereference in data_write
Check if memory allocation succeed before dereferencing pointer.
Szymon Janc [Tue, 7 Aug 2012 12:22:27 +0000 (14:22 +0200)]
nfctype2: Fix possible memory leak in nfctype2_read_meta
If call to near_adapter_send() failed cookie should be freed before
returning.
Szymon Janc [Tue, 7 Aug 2012 12:22:26 +0000 (14:22 +0200)]
nfctype2: Fix possible NULL pointer dereference in nfctype2_read_meta
Check if memory allocation succeed before dereferencing pointer.
Szymon Janc [Tue, 7 Aug 2012 12:22:25 +0000 (14:22 +0200)]
nfctype1: Fix possible NULL pointer dereference in nfctype1_read
Check if memory allocation succeed before dereferencing pointer.
Szymon Janc [Tue, 7 Aug 2012 12:22:24 +0000 (14:22 +0200)]
mifare: Fix possible NULL pointer dereference in mifare_read
Check if memory allocation succeed before dereferencing pointer.
Szymon Janc [Tue, 7 Aug 2012 12:22:23 +0000 (14:22 +0200)]
Fix some common spelling errors and typos
Szymon Janc [Tue, 7 Aug 2012 12:22:22 +0000 (14:22 +0200)]
Fix some whitespace issues
Chlad Sebastian [Fri, 3 Aug 2012 08:57:28 +0000 (10:57 +0200)]
TODO: Change Mifare writer mode support owner
Ravi kumar Veeramally [Mon, 6 Aug 2012 14:26:05 +0000 (17:26 +0300)]
nfctype4: Call write callback when write is succesful
Ravi kumar Veeramally [Mon, 6 Aug 2012 14:26:04 +0000 (17:26 +0300)]
tag: Verify tag content only when the write part succeeded
Samuel Ortiz [Tue, 7 Aug 2012 10:45:34 +0000 (12:45 +0200)]
doc: Document the Dual polling loop mode
Dual means the polling loop will alternate between initiator
and target modes.
Samuel Ortiz [Tue, 7 Aug 2012 09:16:11 +0000 (11:16 +0200)]
device: Don't try to push an NDEF when the DEP link is down
Samuel Ortiz [Tue, 7 Aug 2012 09:11:27 +0000 (11:11 +0200)]
adapter: Add a DEP state accessor
Samuel Ortiz [Thu, 2 Aug 2012 22:45:01 +0000 (00:45 +0200)]
agent: Move handover agent implementation to agent.c
Samuel Ortiz [Thu, 2 Aug 2012 22:38:28 +0000 (00:38 +0200)]
manager: Implement NDEF agent registration API
Samuel Ortiz [Thu, 2 Aug 2012 22:37:36 +0000 (00:37 +0200)]
agent: Initial implementation
The NDEF agent API will allow apps to register for record types and get the
corresponding NDEFs back.
Samuel Ortiz [Wed, 1 Aug 2012 14:16:09 +0000 (16:16 +0200)]
ndef: Copy each record raw data
Applications may need raw data for external type records.
Samuel Ortiz [Wed, 1 Aug 2012 13:43:43 +0000 (15:43 +0200)]
ndef: Keep track of the record header length
Szymon Janc [Wed, 25 Jul 2012 15:25:10 +0000 (17:25 +0200)]
doc: Update handover agent API
Update API with PushOOB() method that is used to pass OOB data to agent
so it can prepare alternative carrier link.
Szymon Janc [Wed, 25 Jul 2012 15:24:15 +0000 (17:24 +0200)]
doc: Fix handover agent API description
OOB data given by agent is used for both Hr and Hs.
Hash must be present if Randomizer is present in dictionary.
Ravi kumar Veeramally [Wed, 25 Jul 2012 11:25:04 +0000 (14:25 +0300)]
nfctype1: Add support for blank tag handling
When using a new tag for the first time, the CC field might not be
initialized (un-formatted tag) this was causing the tag to be dropped.
this patch add handling for such tags:
* When a tag with uninitialized CC block is read, it is marked as blank
and is not dropped.
* Add a new nfctype1_format() function used for initializing the CC block
in blank t1 flags.
* When writing data to a tag, in case the tag is marked as blank, this api
can be used in order to format the tag before the data is being written
to it.
Ravi kumar Veeramally [Mon, 23 Jul 2012 16:03:45 +0000 (19:03 +0300)]
tag: Improve tag formatting and writing operation
In format_cb() routine, checking if there is a pending message.
If there is no such thing, it simply returns.
If there is a pending message:
1) If the formatting failed, sends a D-Bus message back to notify
the writer that the operation failed.
2) If the formatting succeeded, calling __near_tag_write() again.
Making sure tag is no longer blank and calling writing operation.
Samuel Ortiz [Wed, 25 Jul 2012 10:43:35 +0000 (12:43 +0200)]
doc: Add Devices to the adapter properties
Samuel Ortiz [Fri, 20 Jul 2012 10:03:57 +0000 (12:03 +0200)]
doc: Fix RequestOOB method description
The OOB data given by the agent is used to build an Hr, not an Hs.
Jeff Zheng [Tue, 17 Jul 2012 02:15:11 +0000 (10:15 +0800)]
tag: Update tag content after write record
After write record to tag, we should update the tag content by reading
from the adapter.
Samuel Ortiz [Wed, 18 Jul 2012 10:18:33 +0000 (12:18 +0200)]
doc: Sync coding-style.txt with oFono
Marcel Holtmann [Mon, 16 Jul 2012 13:19:38 +0000 (10:19 -0300)]
Revert "build: Use -Wshadow compiler option"
Marcel Holtmann [Sun, 15 Jul 2012 22:15:53 +0000 (19:15 -0300)]
build: Use -Wshadow compiler option
Marcel Holtmann [Sun, 15 Jul 2012 22:15:02 +0000 (19:15 -0300)]
handover: Avoid shadowing connection variable
Marcel Holtmann [Sun, 15 Jul 2012 22:13:45 +0000 (19:13 -0300)]
ndef: Use uri_prefixes to avoid a shadowed variable
Samuel Ortiz [Thu, 12 Jul 2012 17:29:47 +0000 (19:29 +0200)]
AUTHORS: Mention Jeff's contributions
Jeff Zheng [Mon, 9 Jul 2012 07:30:11 +0000 (15:30 +0800)]
Edit a tag from neard-ui.py
In neard-ui.py, double click a record will display a window. User
can edit the record and write back to tag
Samuel Ortiz [Tue, 3 Jul 2012 21:25:55 +0000 (23:25 +0200)]
netlink: Remove undefined but declared target activation routines
Target activation is done by the kernel when connecting to it.
Lucas De Marchi [Fri, 18 May 2012 20:30:13 +0000 (17:30 -0300)]
gdbus: do not check signature twice
Message signature is already checked in generic_message(), so there's no
need to check again in the callback.
Mikel Astiz [Tue, 22 May 2012 14:58:18 +0000 (16:58 +0200)]
gdbus: Fix incorrectly discarded signals
Signals with no arguments were incorrectly filtered out due to the NULL
inequality check.
Lucas De Marchi [Mon, 25 Jun 2012 15:44:40 +0000 (12:44 -0300)]
gdbus: Fix removal of filter after last filter_data
If there's a signal watch that's also watching for name
(data->name_watch) currently we are trying to remove the message_filter
twice since we may have the following call chain:
filter_data_remove_callback()
filter_data_free()
g_dbus_remove_watch()
filter_data_remove_callback()
filter_data_free()
dbus_connection_remove_filter()
dbus_connection_remove_filter()
Because of this we can't currently watch for signals passing the bus
name. After this patch we don't have this issue anymore.
We fix it by removing the filter before calling filter_data_free() if we
are the last filter_data and thus avoid calling
dbus_connection_remove_filter() twice.
Samuel Ortiz [Fri, 29 Jun 2012 14:14:50 +0000 (16:14 +0200)]
Release 0.5
Samuel Ortiz [Fri, 29 Jun 2012 08:13:56 +0000 (10:13 +0200)]
handover: Free Hs record after sending it
Samuel Ortiz [Thu, 28 Jun 2012 17:32:19 +0000 (19:32 +0200)]
device: Free the pushed NDEF instead of offloading that to p2p plugins
Samuel Ortiz [Thu, 28 Jun 2012 17:22:48 +0000 (19:22 +0200)]
p2p: Free all p2p plugins data before calling their exit routines
The exit routine will delete the hash tables that free_server_data() might
try to destroy as well, triggering a GLib warning.
Samuel Ortiz [Thu, 28 Jun 2012 17:16:36 +0000 (19:16 +0200)]
device: Async push_ndef returns NULL when reply is pending
The push_cb routine will send the actual reply back.
Samuel Ortiz [Thu, 28 Jun 2012 17:10:41 +0000 (19:10 +0200)]
handover: Factorize push client data freeing routine
free_hr_push_client also calls the push callback.
Samuel Ortiz [Thu, 28 Jun 2012 16:44:56 +0000 (18:44 +0200)]
handover: Remove extra handover_close call
Samuel Ortiz [Thu, 28 Jun 2012 16:37:50 +0000 (18:37 +0200)]
handover: Free handover records
Samuel Ortiz [Thu, 28 Jun 2012 16:34:09 +0000 (18:34 +0200)]
tag: Call near_ndef_records_free when freeing tag records
Samuel Ortiz [Thu, 28 Jun 2012 16:32:47 +0000 (18:32 +0200)]
ndef: Add record list freeing routine
Samuel Ortiz [Thu, 28 Jun 2012 16:21:06 +0000 (18:21 +0200)]
handover: Free allocated handover record if parsing fails
Olivier Guiter [Thu, 28 Jun 2012 13:43:49 +0000 (15:43 +0200)]
ndef: Implement Hr record building
Although only Bluetooth is supported right now, the Hr record building
will add the right configuration data depending on the carrier.
This record will be sent in order to initiate a handover.
Olivier Guiter [Thu, 28 Jun 2012 13:43:48 +0000 (15:43 +0200)]
ndef: Start Bluetooth pairing from the Hs parser
When successfully parsing an Hs frame a bluetooth pairing will start.
Olivier Guiter [Thu, 28 Jun 2012 13:43:47 +0000 (15:43 +0200)]
Fix MB and ME bits checking in handover frame
Handover frames can have nested ndef messages, so we have to validate
MB and ME at different levels (from the first record but also from each
ac and cr nested records).
Olivier Guiter [Thu, 28 Jun 2012 13:43:46 +0000 (15:43 +0200)]
handover: Handle Hr and Hs parsing
When receiving an Hr neard should reply to the initiator with an Hs frame.
When receiving an Hs neard is the initiator and should start the pairing
(or eventually the association).
Olivier Guiter [Thu, 28 Jun 2012 13:43:45 +0000 (15:43 +0200)]
handover: Move handover_close function up
Olivier Guiter [Thu, 28 Jun 2012 13:43:44 +0000 (15:43 +0200)]
handover: Add handover_push
This code path will be called when sending a handover request NDEF.
Samuel Ortiz [Thu, 28 Jun 2012 13:31:25 +0000 (15:31 +0200)]
adapter: Return a better error when powering an already powered adapter
Samuel Ortiz [Thu, 28 Jun 2012 13:21:20 +0000 (15:21 +0200)]
README: Update configuration options description
Samuel Ortiz [Wed, 27 Jun 2012 09:58:39 +0000 (11:58 +0200)]
tag: tag_set_ro returns void
For consistency sake, setters return void.
Samuel Ortiz [Wed, 27 Jun 2012 09:57:29 +0000 (11:57 +0200)]
tag: Remove undefined tag_set_uid routine
Eyal Reizer [Wed, 27 Jun 2012 08:12:34 +0000 (11:12 +0300)]
nfctype2: Add support for blank tag handling
When using a new tag for the first time, the CC field might not be
initialized (un-formatted tag) this was causing the tag to be dropped.
this patch add handling for such tags:
* When a tag with uninitialized CC block is read, it is marked as blank
and is not dropped
* Add a new nfctype2_format() function used for initializing the CC block
in blank t2 flags.
* When writing data to a tag, in case the tag is marked as blank, this api
can be used in order to format the tag before the data is being written
to it.
Eyal Reizer [Wed, 27 Jun 2012 08:11:39 +0000 (11:11 +0300)]
tag: Add blank tag format support
* Add a new near_tag_driver op (format) used for formatting blank tags.
* In case an un-formatted tag is being written __near_tag_write()
first format the tag and if that succeeds it proceeds to writing
the data.
Eyal Reizer [Wed, 27 Jun 2012 09:46:16 +0000 (11:46 +0200)]
tag: Add blank tag handling
Add an API for marking blank tags.
Samuel Ortiz [Tue, 26 Jun 2012 23:36:13 +0000 (01:36 +0200)]
tag: Remove read-only property getter
The check has been moved from plugins to the core code. No need to
export this getter anymore.
Ravi kumar Veeramally [Tue, 26 Jun 2012 14:50:46 +0000 (17:50 +0300)]
nfctype4: Remove duplicate tag read-only check
Tag read-only check while writing is added in tag.c.
So remove duplicate check from plugin.
Ravi kumar Veeramally [Tue, 26 Jun 2012 14:50:45 +0000 (17:50 +0300)]
nfctype3: Remove duplicate tag read-only check
Tag read-only check while writing is added in tag.c.
So remove duplicate check from plugin.
Ravi kumar Veeramally [Tue, 26 Jun 2012 14:50:44 +0000 (17:50 +0300)]
nfctype2: Remove duplicate tag read-only check
Tag read-only check while writing is added in tag.c.
So remove duplicate check from plugin.
Ravi kumar Veeramally [Tue, 26 Jun 2012 14:50:43 +0000 (17:50 +0300)]
nfctype1: Remove duplicate tag read-only check
Tag read-only check while writing is added in tag.c.
So remove duplicate call from plugin.
Samuel Ortiz [Tue, 26 Jun 2012 16:09:30 +0000 (18:09 +0200)]
test: Add Handover type support to push-device
The pushed handover NDEF will be a handover request one, and the argument
to the push-device script is the expected carrier (bluetooth or wifi).
Samuel Ortiz [Tue, 26 Jun 2012 16:01:02 +0000 (18:01 +0200)]
device: Specify service name when pushing NDEFs
Depending on the NDEF type, the service name will be different. In
particular, Handover NDEFs should be sent to the handover service, not
the SNEP one.
Samuel Ortiz [Mon, 25 Jun 2012 17:39:57 +0000 (19:39 +0200)]
tag: Do not attempt to write to a read only tag
Samuel Ortiz [Fri, 22 Jun 2012 13:37:10 +0000 (15:37 +0200)]
adapter: Early p2p binding
The LLCP wks array will be properly built before the MAC link is up by
binding to p2p services as soon as a p2p driver is registered.
The bound will also happen when the MAC link is up for supporting kernels
where the bound LLCP sockets will be closed when the MAC is brought down.
For more recent kernels, the bind operation will happen only once.
Samuel Ortiz [Fri, 22 Jun 2012 13:34:20 +0000 (15:34 +0200)]
p2p: Do not return an error when a service name is already bound
When trying to re-use the same service name, bind will fail but it means
a server is already listening on this service.
Samuel Ortiz [Fri, 22 Jun 2012 13:25:18 +0000 (15:25 +0200)]
p2p: Keep track of allocated servers
Samuel Ortiz [Thu, 21 Jun 2012 16:44:10 +0000 (18:44 +0200)]
p2p: Bind and listen only on a specific target
Bind and listening are related to a particular adapter, not to a target
or device index.
Samuel Ortiz [Wed, 20 Jun 2012 19:25:16 +0000 (21:25 +0200)]
bluetooth: Check for OOB pointers to be NULL before freeing them
Olivier Guiter [Wed, 20 Jun 2012 10:21:20 +0000 (12:21 +0200)]
handover: Support for handover selector mode
This code parses received handover requester records, create an Hs one
and send it back to the requester.
Olivier Guiter [Wed, 20 Jun 2012 10:21:19 +0000 (12:21 +0200)]
ndef: Prepare handover record
This patch allows to create handover (Hr or Hs) frames with all the
expecteded records (collision, ac, ...) and the configuration ones
(like e.g. the Bluetooth OOB related data).
Olivier Guiter [Wed, 20 Jun 2012 11:11:39 +0000 (13:11 +0200)]
ndef: Add NDEF record couting routine
For a defined record type, this routine will count how many records are
found in an NDEF.
Olivier Guiter [Wed, 20 Jun 2012 10:21:17 +0000 (12:21 +0200)]
ndef: Add handover parsing routines
Because of the handover specific frame structure (out of NDEF record
messages), the routines are slightly different than the existing ones.
Olivier Guiter [Wed, 20 Jun 2012 10:21:16 +0000 (12:21 +0200)]
ndef: Add handover records freeing routines
Olivier Guiter [Wed, 20 Jun 2012 10:21:15 +0000 (12:21 +0200)]
ndef: Add handover record definitions
near_ndef_record will point to one of them.
Olivier Guiter [Wed, 20 Jun 2012 10:21:14 +0000 (12:21 +0200)]
ndef: Add a function to set/reset MB and ME bits in NDEF headers
Olivier Guiter [Wed, 20 Jun 2012 10:21:13 +0000 (12:21 +0200)]
ndef: Extend the NDEF alocation routine
ndef_message_alloc_complete allows to pass more arguments when allocating
a new NDEF.
ndef_message_alloc is now a wrapper to ndef_message_alloc_complete,
mainly because, in most cases, payload_id is null.
Olivier Guiter [Wed, 20 Jun 2012 10:21:12 +0000 (12:21 +0200)]
ndef: Add Bluetooth pairing argument to parse_mime_type()
This argument being set to TRUE will initiate a Bluetooth pairing.
Olivier Guiter [Wed, 20 Jun 2012 10:21:11 +0000 (12:21 +0200)]
ndef: Add near_ndef_record_length function
This function returns the length of a NDEF record.
Olivier Guiter [Tue, 19 Jun 2012 09:46:23 +0000 (11:46 +0200)]
ndef: Save type length in record header structure
Olivier Guiter [Tue, 19 Jun 2012 09:46:22 +0000 (11:46 +0200)]
bluetooth: Define Bluetooth MIME types
Lucas De Marchi [Tue, 29 May 2012 11:57:06 +0000 (08:57 -0300)]
gdbus: Add macro for methods marked as NOREPLY
Bring gdbus up to sync with other projects. The macro is
not yet used in neard.
Samuel Ortiz [Mon, 18 Jun 2012 13:58:48 +0000 (15:58 +0200)]
AUTHORS: Mention Eyal's contributions
Eyal Reizer [Mon, 18 Jun 2012 08:19:16 +0000 (11:19 +0300)]
nfctype2: Fix wrong read command length
According to "Type 2 Tag Operation Specification" the read command is 2
bytes long: (Code=0x30 and Block number).
Instead of sending 2 bytes the code was sending 6 bytes which caused some
NFC controllers to send a wrong read command which resulted with a read
timeout.
Samuel Ortiz [Tue, 12 Jun 2012 14:30:13 +0000 (16:30 +0200)]
features: Update
Samuel Ortiz [Tue, 12 Jun 2012 14:27:15 +0000 (16:27 +0200)]
TODO: Update
Samuel Ortiz [Tue, 12 Jun 2012 13:55:33 +0000 (15:55 +0200)]
netlink: Simplfy the netlink initialisation code
The cache and generic netlink family pointer are not needed.