[B.A.T.M.A.N.] [PATCH 0/3] batman-adv & co: Update copyright years for 2019

2018-12-31 Thread Sven Eckelmann
Hi, here is just the annual update of the copyright years for batman-adv, batctl and alfred. Kind regards, Sven Sven Eckelmann (1): alfred: Update copyright years for 2019 batctl: Update copyright years for 2019 batman-adv: Update copyright years for 2019 -- 2.19.2

[B.A.T.M.A.N.] [PATCH 2/3] alfred: Update copyright years for 2019

2018-12-31 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann --- Makefile | 2 +- alfred.h | 2 +- batadv_query.c | 2 +- batadv_query.h | 2 +- batadv_querynl.c | 2 +- batadv_querynl.h | 2 +- batman_adv.h | 2 +- bitops.h | 2 +- client.c | 2 +- gpsd/Makefile

[B.A.T.M.A.N.] [PATCH 3/3] batctl: Update copyright years for 2019

2018-12-31 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann --- Makefile| 2 +- aggregation.c | 2 +- allocate.h | 2 +- ap_isolation.c | 2 +- backbonetable.c | 2 +- bat-hosts.c | 2 +- bat-hosts.h | 2 +- batadv_packet.h | 2 +-

[B.A.T.M.A.N.] [PATCH 1/3] batman-adv: Update copyright years for 2019

2018-12-31 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann --- Makefile | 2 +- compat-include/linux/average.h | 2 +- compat-include/linux/build_bug.h | 2 +- compat-include/linux/cache.h | 2 +- compat-include/linux/compiler.h| 3 ++-

[B.A.T.M.A.N.] [PATCH maint] batman-adv: Force mac header to start of data on xmit

2018-12-31 Thread Sven Eckelmann
The caller of ndo_start_xmit may not already have called skb_reset_mac_header. The returned value of skb_mac_header/eth_hdr therefore can be in the wrong position and even outside the current skbuff. This for example happens when the user binds to the device using a PF_PACKET-SOCK_RAW with enabled

Re: [B.A.T.M.A.N.] [RFC v3 03/19] batman-adv: Prepare framework for hardif genl config

2018-12-31 Thread Sven Eckelmann
On Monday, 31 December 2018 12.59.36 CET Linus Lüssing wrote: [...] > > static int batadv_pre_doit(const struct genl_ops *ops, struct sk_buff *skb, > >struct genl_info *info) > > { > > - struct batadv_priv *bat_priv; > > + struct batadv_hard_iface *hard_iface; > > +

Re: [B.A.T.M.A.N.] [RFC v3 02/19] batman-adv: Prepare framework for mesh genl config

2018-12-31 Thread Sven Eckelmann
On Monday, 31 December 2018 12.09.50 CET Linus Lüssing wrote: [...] > [...] > > > #ifdef CONFIG_BATMAN_ADV_BLA > > if (nla_put_u16(msg, BATADV_ATTR_BLA_CRC, > > ntohs(bat_priv->bla.claim_dest.group))) > > - goto out; > > + goto nla_put_failure; > >

Re: [B.A.T.M.A.N.] [RFC v3 01/19] batman-adv: Move common genl doit code pre/post hooks

2018-12-31 Thread Sven Eckelmann
On Sunday, 30 December 2018 17.57.54 CET Linus Lüssing wrote: > On Fri, Dec 07, 2018 at 02:58:28PM +0100, Sven Eckelmann wrote: > > +/** > > + * batadv_get_softif_from_info() - Retrieve soft interface from genl attributes > > + * @net: the applicable net namespace > > + * @info: receiver

[B.A.T.M.A.N.] KASAN: use-after-free Read in batadv_interface_tx

2018-12-31 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:903b77c63167 Merge tag 'linux-kselftest-4.21-rc1' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=168acbdd40 kernel config: https://syzkaller.appspot.com/x/.config?x=53a2f2aa0b1f7606

[B.A.T.M.A.N.] KASAN: slab-out-of-bounds Read in batadv_interface_tx

2018-12-31 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f346b0becb1b Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10f0bbdd40 kernel config: https://syzkaller.appspot.com/x/.config?x=c255c77ba370fe7c

[B.A.T.M.A.N.] WARNING in batadv_mcast_mla_tt_retract

2018-12-31 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eed9688f8513 Merge branch 'ras-core-for-linus' of git://gi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=103bffaf40 kernel config: https://syzkaller.appspot.com/x/.config?x=fa5c63e12fd85b25

[B.A.T.M.A.N.] WARNING in batadv_mcast_mla_update

2018-12-31 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eed9688f8513 Merge branch 'ras-core-for-linus' of git://gi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10785d5740 kernel config: https://syzkaller.appspot.com/x/.config?x=fa5c63e12fd85b25

Re: [B.A.T.M.A.N.] [RFC v3 03/19] batman-adv: Prepare framework for hardif genl config

2018-12-31 Thread Linus Lüssing
On Fri, Dec 07, 2018 at 02:58:30PM +0100, Sven Eckelmann wrote: [...] > The BATADV_CMD_GET_HARDIFS (or short version BATADV_CMD_GET_HARDIF) is > reused as get command because it already allow to dump the content of other > information from the slave/hard-interface which are not yet configuration >

Re: [B.A.T.M.A.N.] [RFC v3 02/19] batman-adv: Prepare framework for mesh genl config

2018-12-31 Thread Linus Lüssing
On Fri, Dec 07, 2018 at 02:58:29PM +0100, Sven Eckelmann wrote: > The batman-adv configuration interface was implemented solely using sysfs. > This approach was condemned by non-batadv developers as "huge mistake". > Instead a netlink/genl based implementation was suggested. > > The main objects