drop_monitor: Update netlink protocol to include netlink attribute header in alert...
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 27 Apr 2009 10:17:31 +0000 (03:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 10:17:31 +0000 (03:17 -0700)
commit683703a26e4677db437a1480682851e27c7a154f
tree2279d2b07ea895e84ffffc854fee7771ff674dd7
parentfa466e91bdf214e6e136e9da9a46a52775a1e884
drop_monitor: Update netlink protocol to include netlink attribute header in alert message

When I initially implemented this protocol, I disregarded the use of netlink
attribute headers, thinking for my purposes they weren't needed.  I've come to
find out that, as I'm starting to work with sending down messages with
associated data (like config messages), the kernel code spits out warnings about
trailing data in a netlink skb that doesn't have an associated header on it.  As
such, I'm going to start including attribute headers in my netlink transaction,
and so for completeness, I should likely include them on messages bound from the
kernel to user space.  This patch adds that header to the kernel, and bumps the
protocol version accordingly

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/drop_monitor.c