]> err.no Git - linux-2.6/commit
[NETLINK]: introduce NLA_BINARY type
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 23 Mar 2007 18:37:48 +0000 (11:37 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:05 +0000 (22:28 -0700)
commitd30045a0bcf144753869175dd9d840f7ceaf4aba
treea5f5b5f7073fbd733a7c5ac877161018f43cf1fc
parent703315712cfccfe0b45ef4aa6994527d8ee95e33
[NETLINK]: introduce NLA_BINARY type

This patch introduces a new NLA_BINARY attribute policy type with the
verification of simply checking the maximum length of the payload.

It also fixes a small typo in the example.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netlink.h
net/netlink/attr.c