/* * netsniff-ng - the packet sniffing beast * Copyright 2014 Tobias Klauser. * Subject to the GPL, version 2. */ #ifndef DISSECTOR_NETLINK_H #define DISSECTOR_NETLINK_H #include "protos.h" extern void dissector_init_netlink(int fnttype); extern void dissector_cleanup_netlink(void); static inline struct protocol *dissector_get_netlink_entry_point(void) { return &nlmsg_ops; } static inline struct protocol *dissector_get_netlink_exit_point(void) { return &none_ops; } #endif /* DISSECTOR_NETLINK_H */ t' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2016-10-26 13:21:33 -0700
committerDavid S. Miller <davem@davemloft.net>2016-10-29 15:50:30 -0400
commit46b5ab1a7cfef72cc15e9de135650851619bc406 (patch)
tree6105fe103b4a3956eaade9ac07004fa013bddb45
parentb917783c7b350518f8c5d88bb5848aa8064408a6 (diff)
net: dev: Fix non-RCU based lower dev walker
netdev_walk_all_lower_dev is not properly walking the lower device list. Commit 1a3f060c1a47 made netdev_walk_all_lower_dev similar to netdev_walk_all_upper_dev_rcu and netdev_walk_all_lower_dev_rcu but failed to update its netdev_next_lower_dev iterator. This patch fixes that. Fixes: 1a3f060c1a47 ("net: Introduce new api for walking upper and lower devices") Reported-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Tested-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>