]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'batman-adv-fix-for-davem' of git://git.open-mesh.org/linux-merge
authorDavid S. Miller <davem@davemloft.net>
Sun, 29 Dec 2013 05:30:59 +0000 (00:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Dec 2013 05:30:59 +0000 (00:30 -0500)
commitfde7ece6e95a2ce6b2cfd85ad96aeb2cbde8fa3d
treec9eedf01f9a08f1a87862c8eda3f33fe7287e23c
parente4b8ddd5cb9e2e51014c1568affc48b1220e9e77
parent2157a3dfc497304a840cba0c784fc160ac6874c7
Merge tag 'batman-adv-fix-for-davem' of git://git.open-mesh.org/linux-merge

Included changes:

- reset netfilter-bridge state when removing the batman-adv
  header from an incoming packet. This prevents netfilter
  bridge from being fooled when the same packet enters a
  bridge twice (or more): the first time within the
  batman-adv header and the second time without.

- adjust the packet layout to prevent any architecture from
  adding padding bytes. All the structs sent over the wire
  now have size multiple of 4bytes (unless pack(2) is used).

- fix access to the inner vlan_eth header when reading the
  VID in the rx path.

Signed-off-by: David S. Miller <davem@davemloft.net>