]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netlink: make socket filters work on netlink
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 21 Mar 2008 22:46:12 +0000 (15:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Mar 2008 22:46:12 +0000 (15:46 -0700)
commitb1153f29ee07dc1a788964409255a4b4fae50b98
tree3e9c09804e805da77d225a8508c28e064a310c45
parent6f8b13bcb3369a5df2e63acc422bed6098f5b8c4
netlink: make socket filters work on netlink

Make socket filters work for netlink unicast and notifications.
This is useful for applications like Zebra that get overrun with
messages that are then ignored.

Note: netlink messages are in host byte order, but packet filter
state machine operations are done as network byte order.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c