summaryrefslogtreecommitdiff
path: root/epoll2.h
blob: 1ecf5f0b83ad5806feb3a683eaf8612ff57881e2 (plain)
1
2
3
4
5
6
7
#ifndef __EPOLL_H
#define __EPOLL_H

extern void set_epoll_descriptor(int fd_epoll, int action, int fd_toadd, int events);
extern int set_epoll_descriptor2(int fd_epoll, int action, int fd_toadd, int events);

#endif /* __EPOLL_H */
elected='selected'>unified
authorSven Eckelmann <sven@narfation.org>2016-02-26 17:56:13 +0100
committerAntonio Quartulli <a@unstable.cc>2016-04-24 15:37:21 +0800
commitc78296665c3d81f040117432ab9e1cb125521b0c (patch)
tree8fdc01e1c914e14e548192e611f036a0f479d0a6
parent5f44abd041c5f3be76d57579ab254d78e601315b (diff)
batman-adv: Check skb size before using encapsulated ETH+VLAN header
The encapsulated ethernet and VLAN header may be outside the received ethernet frame. Thus the skb buffer size has to be checked before it can be parsed to find out if it encapsulates another batman-adv packet. Fixes: 420193573f11 ("batman-adv: softif bridge loop avoidance") Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <a@unstable.cc>
Diffstat