#ifndef TRAFGEN_L2_H #define TRAFGEN_L2_H enum eth_field { ETH_DST_ADDR, ETH_SRC_ADDR, ETH_TYPE, }; enum arp_field { ARP_HTYPE, ARP_PTYPE, ARP_HLEN, ARP_PLEN, ARP_OPER, ARP_SHA, ARP_SPA, ARP_THA, ARP_TPA, }; enum vlan_field { VLAN_TPID, VLAN_TCI, VLAN_PCP, VLAN_DEI, VLAN_VID, VLAN_ETYPE, }; enum mpls_field { MPLS_LABEL, MPLS_TC, MPLS_LAST, MPLS_TTL, }; extern void protos_l2_init(void); #endif /* TRAFGEN_L2_H */ link rel='vcs-git' href='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/watchdog
diff options
context:
space:
mode:
authorMaxim Patlasov <mpatlasov@virtuozzo.com>2016-07-21 18:24:26 -0700
committerMiklos Szeredi <mszeredi@redhat.com>2016-07-22 10:54:20 +0200
commitcfc9fde0b07c3b44b570057c5f93dda59dca1c94 (patch)
tree7f36d4f2a49719673c436767707d25ef5f5e9041 /Documentation/devicetree/bindings/watchdog
parent07a2daab49c549a37b5b744cbebb6e3f445f12bc (diff)
ovl: verify upper dentry in ovl_remove_and_whiteout()
The upper dentry may become stale before we call ovl_lock_rename_workdir. For example, someone could (mistakenly or maliciously) manually unlink(2) it directly from upperdir. To ensure it is not stale, let's lookup it after ovl_lock_rename_workdir and and check if it matches the upper dentry. Essentially, it is the same problem and similar solution as in commit 11f3710417d0 ("ovl: verify upper dentry before unlink and rename"). Signed-off-by: Maxim Patlasov <mpatlasov@virtuozzo.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/watchdog')