• Neil Horman's avatar
    drop_monitor: Update netlink protocol to include netlink attribute header in alert message · 683703a2
    Neil Horman authored
    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: default avatarNeil Horman <nhorman@tuxdriver.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    683703a2
drop_monitor.c 5.69 KB